writeString

Writes a string of given length to the internal byte buffer.

writeString(
    value,
    length
);

Parameters

value

Type: String
The string to write.

length

Type: Number
The length of the string.