writeByte

fun writeByte(value: Byte): Unit

Write a byte value at writePosition (incremented when written successfully).

Exceptions

InsufficientSpaceException - when no free space in the buffer.