trait Unpacker extends AutoCloseable
MessageUnpacker interface
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- Unpacker
- AutoCloseable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Abstract Value Members
- abstract def close(): Unit
- Definition Classes
- AutoCloseable
- Annotations
- @throws(classOf[java.lang.Exception])
- abstract def getNextFormat: MessageFormat
- abstract def getNextValueType: ValueType
- abstract def hasNext: Boolean
- abstract def readPayload(length: Int): Array[Byte]
- abstract def readPayload(dst: Array[Byte], offset: Int, length: Int): Unit
- abstract def readPayload(dst: Array[Byte]): Unit
- abstract def skipValue(count: Int): Unit
- abstract def skipValue: Unit
- abstract 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.
- 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.
- abstract def unpackArrayHeader: Int
- abstract def unpackBigInteger: BigInteger
- abstract def unpackBinaryHeader: Int
- abstract def unpackBoolean: Boolean
- abstract def unpackByte: Byte
- abstract def unpackDouble: Double
- abstract def unpackExtTypeHeader: ExtTypeHeader
- abstract def unpackExtValue(extTypeHeader: ExtTypeHeader): Value
- abstract def unpackFloat: Float
- abstract def unpackInt: Int
- abstract def unpackLong: Long
- abstract def unpackMapHeader: Int
- abstract def unpackNil: Unit
- abstract def unpackRawStringHeader: Int
- abstract def unpackShort: Short
- abstract def unpackString: String
- abstract def unpackTimestamp(extTypeHeader: ExtTypeHeader): Instant
- abstract def unpackTimestamp: Instant
- abstract def unpackValue: Value
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated