BufferPacker

wvlet.airframe.msgpack.spi.BufferPacker
trait BufferPacker extends Packer

Attributes

Graph
Supertypes
trait Packer
trait AutoCloseable
class Object
trait Matchable
class Any
Known subtypes

Members list

Concise view

Value members

Abstract methods

def clear: Unit
def toByteArray: Array[Byte]

Inherited methods

def addPayload(src: Array[Byte], offset: Int, length: Int): Packer.this.type

Attributes

Inherited from:
Packer
def addPayload(src: Array[Byte]): Packer.this.type

Attributes

Inherited from:
Packer
def close(): Unit

Attributes

Inherited from:
AutoCloseable
def packArrayHeader(arraySize: Int): Packer.this.type

Attributes

Inherited from:
Packer
def packBigInteger(v: BigInteger): Packer.this.type

Attributes

Inherited from:
Packer
def packBinaryHeader(len: Int): Packer.this.type

Attributes

Inherited from:
Packer
def packBoolean(v: Boolean): Packer.this.type

Attributes

Inherited from:
Packer
def packByte(v: Byte): Packer.this.type

Attributes

Inherited from:
Packer
def packDouble(v: Double): Packer.this.type

Attributes

Inherited from:
Packer
def packExtensionTypeHeader(extensionTypeHeader: ExtTypeHeader): Packer.this.type

Attributes

Inherited from:
Packer
def packExtensionTypeHeader(extType: Byte, payloadLen: Int): Packer.this.type

Attributes

Inherited from:
Packer
def packFloat(v: Float): Packer.this.type

Attributes

Inherited from:
Packer
def packInt(v: Int): Packer.this.type

Attributes

Inherited from:
Packer
def packLong(v: Long): Packer.this.type

Attributes

Inherited from:
Packer
def packMapHeader(mapSize: Int): Packer.this.type

Attributes

Inherited from:
Packer
def packNil: Packer.this.type

Attributes

Inherited from:
Packer
def packRawStringHeader(len: Int): Packer.this.type

Attributes

Inherited from:
Packer
def packShort(v: Short): Packer.this.type

Attributes

Inherited from:
Packer
def packString(v: String): Packer.this.type

Attributes

Inherited from:
Packer
def packTimestamp(epochSecond: Long, nanoAdjustment: Int): Packer.this.type

if nanoAdjustment == 0 and epochSeconds <= 2^32, it will encode the timestamp using Timestamp32. Otherwise, an appropriate timestamp code is chosen automatically from one of timestamp32, timestamp64, and timestamp96.

if nanoAdjustment == 0 and epochSeconds <= 2^32, it will encode the timestamp using Timestamp32. Otherwise, an appropriate timestamp code is chosen automatically from one of timestamp32, timestamp64, and timestamp96.

Attributes

Inherited from:
Packer
def packTimestamp(v: Instant): Packer.this.type

Attributes

Inherited from:
Packer
def packValue(v: Value): Packer.this.type

Attributes

Inherited from:
Packer
def writePayload(src: Array[Byte], offset: Int, length: Int): Packer.this.type

Attributes

Inherited from:
Packer
def writePayload(src: Array[Byte]): Packer.this.type

Attributes

Inherited from:
Packer