Returns the index of byte inf offset and length range.
byte
offset
length
int indexOf(int byte, [int offset = 0, int? length]);