writeFully

fun BytePacketBuilder.writeFully(buffer: ByteArray, offset: Int = 0, length: Int = buffer.size - offset)
fun BytePacketBuilder.writeFully(buffer: CPointer<ByteVar>, offset: Long, length: Long)