❔ Array.IndexOf being weird
I'm very confused. Been trying to use Array.IndexOf to find a null terminator in a byte array
But it fails to find the byte and returns -1
Doing this however, it finds the byte... O_O
Why does Array.IndexOf not work in this situation?
But it fails to find the byte and returns -1
Doing this however, it finds the byte... O_O
Why does Array.IndexOf not work in this situation?