Find the index of the first null terminator in data starting at offset for the given encoding. Returns the byte offset into data, or -1.
data
offset
Find the index of the first null terminator in
datastarting atoffsetfor the given encoding. Returns the byte offset intodata, or -1.