writeString

open fun writeString(s: String)

Writes a string.

Writes strings as UTF-8 encoded bytes. First the length, in bytes, is written as a .writeVInt, followed by the bytes.

See also