MCPcopy Create free account
hub / github.com/Hiro420/NikkeTools / IncrementCounter

Method IncrementCounter

StaticData/NikkeStaticData/Program.cs:162–169  ·  view source on GitHub ↗
(byte[] counter)

Source from the content-addressed store, hash-verified

160 }
161
162 private static void IncrementCounter(byte[] counter)
163 {
164 for (int i = counter.Length - 1; i >= 0; i--)
165 {
166 if (++counter[i] != 0)
167 break;
168 }
169 }
170}
171

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected