ToByteBuffer

io.bullet.borer.output.ToByteBufferOutput.ToByteBuffer
final class ToByteBuffer(bufferSize: Int, allowBufferCaching: Boolean) extends Output

Default, mutable implementation for serializing to java.nio.ByteBuffer instances.

Attributes

Graph
Supertypes
trait Output
class Object
trait Matchable
class Any

Members list

Type members

Types

type Result = ByteBuffer

Value members

Concrete methods

def result(): ByteBuffer
def size: Long
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any
def writeByte(byte: Byte): ToByteBuffer.this.type
def writeBytes(a: Byte, b: Byte): ToByteBuffer.this.type
def writeBytes(a: Byte, b: Byte, c: Byte): ToByteBuffer.this.type
def writeBytes(a: Byte, b: Byte, c: Byte, d: Byte): ToByteBuffer.this.type
def writeBytes[Bytes](bytes: Bytes)(implicit byteAccess: ByteAccess[Bytes]): ToByteBuffer.this.type
override def writeInt(value: Int): Self

Attributes

Definition Classes
override def writeLong(value: Long): Self

Attributes

Definition Classes
override def writeShort(value: Short): ToByteBuffer.this.type

Attributes

Definition Classes