writePacket

fun writePacket(p: ByteReadPacket): Unit

Writes another packet to the end. Please note that the instance p gets consumed so you don’t need to release it

fun writePacket(p: ByteReadPacket, n: Int): Unit
fun writePacket(p: ByteReadPacket, n: Long): Unit

Write exact n bytes from packet to the builder