open fun appendTo(byteBuffer: ByteBuffer): Unit
(source)
Append the bytes of this value to the ByteBuffer.
byteBuffer
- The ByteBuffer to which to append this value.
BufferOverflowException
- If the writer attempts to write more than the provided buffer can hold.
ReadOnlyBufferException
- If the provided buffer is read-only.
open fun appendTo(buffer: Buffer): Unit
(source)
Append the bytes of this value to the provided Vert.x Buffer.
Note that since a Vert.x Buffer will grow as necessary, this method never fails.