UnpackerImpl

wvlet.airframe.msgpack.impl.UnpackerImpl
See theUnpackerImpl companion object
class UnpackerImpl(unpacker: MessageUnpacker) extends Unpacker

A bridge implementation with msgpack-core MessageUnpacker. TODO: Use pure-Scala impl

Attributes

Companion:
object
Graph
Supertypes
trait Unpacker
trait AutoCloseable
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

override def close(): Unit

Attributes

Definition Classes
AutoCloseable

Attributes

Definition Classes

Attributes

Definition Classes
override def hasNext: Boolean

Attributes

Definition Classes
override def readPayload(dst: Array[Byte]): Unit

Attributes

Definition Classes
override def readPayload(dst: Array[Byte], offset: Int, length: Int): Unit

Attributes

Definition Classes
override def readPayload(length: Int): Array[Byte]

Attributes

Definition Classes
override def skipValue: Unit

Attributes

Definition Classes
override def skipValue(count: Int): Unit

Attributes

Definition Classes
override def tryUnpackNil: Boolean

Peeks a Nil byte and read it if the next byte is actually a Nil value, then proceed the cursor 1 byte and return true.

Peeks a Nil byte and read it if the next byte is actually a Nil value, then proceed the cursor 1 byte and return true.

If the next byte is not Nil, it will return false and the cursor position will not be changed.

Attributes

Returns:

true if a nil value is read and the cursor is proceeded 1 bytes. false if the next value is not Nil and the cursor position will not change.

Definition Classes
override def unpackArrayHeader: Int

Attributes

Definition Classes
override def unpackBigInteger: BigInteger

Attributes

Definition Classes
override def unpackBinaryHeader: Int

Attributes

Definition Classes
override def unpackBoolean: Boolean

Attributes

Definition Classes
override def unpackByte: Byte

Attributes

Definition Classes
override def unpackDouble: Double

Attributes

Definition Classes

Attributes

Definition Classes
override def unpackExtValue(extTypeHeader: ExtTypeHeader): Value

Attributes

Definition Classes
override def unpackFloat: Float

Attributes

Definition Classes
override def unpackInt: Int

Attributes

Definition Classes
override def unpackLong: Long

Attributes

Definition Classes
override def unpackMapHeader: Int

Attributes

Definition Classes
override def unpackNil: Unit

Attributes

Definition Classes
override def unpackRawStringHeader: Int

Attributes

Definition Classes
override def unpackShort: Short

Attributes

Definition Classes
override def unpackString: String

Attributes

Definition Classes
override def unpackTimestamp: Instant

Attributes

Definition Classes
override def unpackTimestamp(extTypeHeader: ExtTypeHeader): Instant

Attributes

Definition Classes
override def unpackValue: Value

Attributes

Definition Classes