writeFully
fun Buffer.writeFully(source: ByteArray, offset: Int = 0, length: Int = source.size - offset)
Content copied to clipboard
fun Buffer.writeFully(source: UByteArray, offset: Int = 0, length: Int = source.size - offset)
Content copied to clipboard
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)
Content copied to clipboard
fun Output.writeFully(src: ByteArray, offset: Int = 0, length: Int = src.size - offset)
Content copied to clipboard
fun Output.writeFully(src: ShortArray, offset: Int = 0, length: Int = src.size - offset)
Content copied to clipboard
fun Output.writeFully(src: IntArray, offset: Int = 0, length: Int = src.size - offset)
Content copied to clipboard
fun Output.writeFully(src: LongArray, offset: Int = 0, length: Int = src.size - offset)
Content copied to clipboard
fun Output.writeFully(src: FloatArray, offset: Int = 0, length: Int = src.size - offset)
Content copied to clipboard
fun Output.writeFully(src: DoubleArray, offset: Int = 0, length: Int = src.size - offset)
Content copied to clipboard
inline fun Output.writeFully(array: UByteArray, offset: Int = 0, length: Int = array.size - offset)
Content copied to clipboard
inline fun Output.writeFully(array: UShortArray, offset: Int = 0, length: Int = array.size - offset)
Content copied to clipboard
inline fun Output.writeFully(array: UIntArray, offset: Int = 0, length: Int = array.size - offset)
Content copied to clipboard
inline fun Output.writeFully(array: ULongArray, offset: Int = 0, length: Int = array.size - offset)
Content copied to clipboard
fun Buffer.writeFully(source: ShortArray, offset: Int = 0, length: Int = source.size - offset)
Content copied to clipboard
fun Buffer.writeFully(source: UShortArray, offset: Int = 0, length: Int = source.size - offset)
Content copied to clipboard
fun Buffer.writeFully(source: IntArray, offset: Int = 0, length: Int = source.size - offset)
Content copied to clipboard
fun Buffer.writeFully(source: UIntArray, offset: Int = 0, length: Int = source.size - offset)
Content copied to clipboard
fun Buffer.writeFully(source: LongArray, offset: Int = 0, length: Int = source.size - offset)
Content copied to clipboard
fun Buffer.writeFully(source: ULongArray, offset: Int = 0, length: Int = source.size - offset)
Content copied to clipboard
fun Buffer.writeFully(source: FloatArray, offset: Int = 0, length: Int = source.size - offset)
Content copied to clipboard
fun Buffer.writeFully(source: DoubleArray, offset: Int = 0, length: Int = source.size - offset)
Content copied to clipboard
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.
fun Buffer.writeFully(src: ArrayBuffer, offset: Int = 0, length: Int = src.byteLength)
Content copied to clipboard
fun Buffer.writeFully(src: ArrayBufferView, offset: Int = 0, length: Int = src.byteLength - offset)
Content copied to clipboard
Write source buffer content moving its position.
fun Buffer.writeFully(pointer: <ERROR CLASS><<ERROR CLASS>>, offset: Int, length: Int)
Content copied to clipboard
fun Buffer.writeFully(pointer: <ERROR CLASS><<ERROR CLASS>>, offset: Long, length: Int)
Content copied to clipboard
fun Output.writeFully(src: <ERROR CLASS><<ERROR CLASS>>, offset: Int, length: Int)
Content copied to clipboard
fun Output.writeFully(src: <ERROR CLASS><<ERROR CLASS>>, offset: Long, length: Long)
Content copied to clipboard
fun BytePacketBuilder.writeFully(src: <ERROR CLASS><<ERROR CLASS>>, size: Int)
Content copied to clipboard
Write all remaining src buffer bytes and change its position accordingly