PackerImpl

wvlet.airframe.msgpack.impl.PackerImpl
See thePackerImpl companion object
class PackerImpl(packer: MessagePacker) extends Packer

Adapter to msgpack-core's MessagePacker

Attributes

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

Members list

Value members

Concrete methods

override def addPayload(src: Array[Byte]): PackerImpl.this.type

Attributes

Definition Classes
override def addPayload(src: Array[Byte], offset: Int, length: Int): PackerImpl.this.type

Attributes

Definition Classes
override def close(): Unit

Attributes

Definition Classes
AutoCloseable
override def packArrayHeader(arraySize: Int): PackerImpl.this.type

Attributes

Definition Classes
override def packBigInteger(v: BigInteger): PackerImpl.this.type

Attributes

Definition Classes
override def packBinaryHeader(len: Int): PackerImpl.this.type

Attributes

Definition Classes
override def packBoolean(v: Boolean): PackerImpl.this.type

Attributes

Definition Classes
override def packByte(v: Byte): PackerImpl.this.type

Attributes

Definition Classes
override def packDouble(v: Double): PackerImpl.this.type

Attributes

Definition Classes
override def packExtensionTypeHeader(extType: Byte, payloadLen: Int): PackerImpl.this.type

Attributes

Definition Classes
override def packFloat(v: Float): PackerImpl.this.type

Attributes

Definition Classes
override def packInt(v: Int): PackerImpl.this.type

Attributes

Definition Classes
override def packLong(v: Long): PackerImpl.this.type

Attributes

Definition Classes
override def packMapHeader(mapSize: Int): PackerImpl.this.type

Attributes

Definition Classes
override def packNil: PackerImpl.this.type

Attributes

Definition Classes
override def packRawStringHeader(len: Int): PackerImpl.this.type

Attributes

Definition Classes
override def packShort(v: Short): PackerImpl.this.type

Attributes

Definition Classes
override def packString(v: String): PackerImpl.this.type

Attributes

Definition Classes
override def packTimestamp(epochSecond: Long, nanoAdjustment: Int): PackerImpl.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

Definition Classes
override def packValue(v: Value): PackerImpl.this.type

Attributes

Definition Classes
override def totalByteSize: Long

Attributes

Definition Classes
override def writePayload(src: Array[Byte]): PackerImpl.this.type

Attributes

Definition Classes
override def writePayload(src: Array[Byte], offset: Int, length: Int): PackerImpl.this.type

Attributes

Definition Classes

Inherited methods

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

Attributes

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

Attributes

Inherited from:
Packer