trait Unpacker extends AutoCloseable

MessageUnpacker interface

Linear Supertypes
AutoCloseable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Unpacker
  2. AutoCloseable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def close(): Unit
    Definition Classes
    AutoCloseable
    Annotations
    @throws(classOf[java.lang.Exception])
  2. abstract def getNextFormat: MessageFormat
  3. abstract def getNextValueType: ValueType
  4. abstract def hasNext: Boolean
  5. abstract def readPayload(length: Int): Array[Byte]
  6. abstract def readPayload(dst: Array[Byte], offset: Int, length: Int): Unit
  7. abstract def readPayload(dst: Array[Byte]): Unit
  8. abstract def skipValue(count: Int): Unit
  9. abstract def skipValue: Unit
  10. 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.

  11. abstract def unpackArrayHeader: Int
  12. abstract def unpackBigInteger: BigInteger
  13. abstract def unpackBinaryHeader: Int
  14. abstract def unpackBoolean: Boolean
  15. abstract def unpackByte: Byte
  16. abstract def unpackDouble: Double
  17. abstract def unpackExtTypeHeader: ExtTypeHeader
  18. abstract def unpackExtValue(extTypeHeader: ExtTypeHeader): Value
  19. abstract def unpackFloat: Float
  20. abstract def unpackInt: Int
  21. abstract def unpackLong: Long
  22. abstract def unpackMapHeader: Int
  23. abstract def unpackNil: Unit
  24. abstract def unpackRawStringHeader: Int
  25. abstract def unpackShort: Short
  26. abstract def unpackString: String
  27. abstract def unpackTimestamp(extTypeHeader: ExtTypeHeader): Instant
  28. abstract def unpackTimestamp: Instant
  29. abstract def unpackValue: Value

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  9. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  15. def toString(): String
    Definition Classes
    AnyRef → Any
  16. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  17. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  18. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped