writeUTFBytes method
Writes a UTF-8 string to the byte stream. Similar to the writeUTF() method, but writeUTFBytes() does not prefix the string with a 16-bit length word.
Implementation
void writeUTFBytes(String value) {
List<int> utf8bytes = utf8.encode(value);
_setAll(_position, utf8bytes);
_position += length;
}