Reads a string of the given length from the buffer.
length
String string(int length) { String s = utf8.decode(data.sublist(_readPos, _readPos + length)); _readPos += length; return s; }