getString
Reads a String from the byte array and advances the cursor.
Return
A String containing the decoded characters.
Parameters
numBytes
The number of bytes to read.
Throws
If the numBytes
is negative or if the requested range (cursor + numBytes) extends beyond the bounds of the ByteArray
.