writeFully
fun Buffer.writeFully(
source: ByteArray,
offset: Int = 0,
length: Int = source.size - offset
): Unit
fun Buffer.writeFully(
source: <ERROR CLASS>,
offset: Int = 0,
length: Int = source.size - offset
): Unit
Write the whole source array range staring at offset and having the specified bytes length.
inline fun IoBuffer.writeFully(
source: ByteArray,
offset: Int = 0,
length: Int = source.size - offset
): Unit
Deprecated: IoBuffer is deprecated. Use Memory or Output instead.
fun Output.writeFully(
src: ShortArray,
offset: Int = 0,
length: Int = src.size - offset
): Unit
fun Output.writeFully(
src: FloatArray,
offset: Int = 0,
length: Int = src.size - offset
): Unit
fun Output.writeFully(
src: DoubleArray,
offset: Int = 0,
length: Int = src.size - offset
): Unit
Deprecated: Binary compatibility.
@ExperimentalUnsignedTypes inline fun Output.writeFully(
array: <ERROR CLASS>,
offset: Int = 0,
length: Int = array.size - offset
): Unit
fun Output.writeFully(bb: ByteBuffer): Unit
fun Buffer.writeFully(
source: ShortArray,
offset: Int = 0,
length: Int = source.size - offset
): Unit
fun Buffer.writeFully(
source: LongArray,
offset: Int = 0,
length: Int = source.size - offset
): Unit
fun Buffer.writeFully(
source: FloatArray,
offset: Int = 0,
length: Int = source.size - offset
): Unit
fun Buffer.writeFully(
source: DoubleArray,
offset: Int = 0,
length: Int = source.size - offset
): Unit
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(source: ByteBuffer): Unit
Write source buffer content moving it’s position.
fun BytePacketBuilder.writeFully(src: ByteBuffer): Unit
Deprecated: Should be resolved to member function instead
Write all src buffer remaining bytes and change it’s position accordingly