writeFully
Write the whole source array range staring at offset and having the specified bytes length.
inline fun ChunkBuffer.writeFully(source: ByteArray, offset: Int = 0, length: Int = source.size - offset)
inline fun Output.writeFully(array: UShortArray, offset: Int = 0, length: Int = array.size - offset)
Write the whole source array range staring at offset and having the specified items length. Numeric values are interpreted in the network byte order (Big Endian).
Write all readable bytes from src to this buffer. Fails if not enough space available to write all bytes.
Write at most length readable bytes from src to this buffer. Fails if not enough space available to write all bytes.
Write source buffer content moving its position.