object OffsetUnpacker
Read a message pack data from a given offset in the buffer. The last read byte length can be checked by calling ReadCursor.lastReadLength method.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- OffsetUnpacker
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
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()
- def peekNextFormat(cursor: ReadCursor): MessageFormat
- def readPayload(cursor: ReadCursor, length: Int, dest: WriteBuffer, destIndex: Int): ReadBuffer
Read a payload of the given length from the given buffer[position], and write the result to the destination buffer.
Read a payload of the given length from the given buffer[position], and write the result to the destination buffer.
- returns
A slice (shallow copy) of the destination buffer
- def readPayload(cursor: ReadCursor, length: Int, dest: Array[Byte], destOffset: Int): Unit
- def readPayload(cursor: ReadCursor, length: Int): Array[Byte]
- def skipPayload(cursor: ReadCursor, numBytes: Int): Unit
- def skipValue(cursor: ReadCursor, skipCount: Int = 1): Unit
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def tryUnpackNil(cursor: ReadCursor): Boolean
- def unpackArrayHeader(cursor: ReadCursor): Int
- def unpackBigInteger(cursor: ReadCursor): BigInteger
- def unpackBinaryHeader(cursor: ReadCursor): Int
- def unpackBoolean(cursor: ReadCursor): Boolean
- def unpackByte(cursor: ReadCursor): Byte
- def unpackDouble(cursor: ReadCursor): Double
- def unpackExt(extHeader: ExtTypeHeader, cursor: ReadCursor): Value
- def unpackExtTypeHeader(cursor: ReadCursor): ExtTypeHeader
- def unpackFloat(cursor: ReadCursor): Float
- def unpackInt(cursor: ReadCursor): Int
- def unpackLong(cursor: ReadCursor): Long
- def unpackMapHeader(cursor: ReadCursor): Int
- def unpackNil(cursor: ReadCursor): Unit
- def unpackRawStringHeader(cursor: ReadCursor): Int
- def unpackShort(cursor: ReadCursor): Short
- def unpackString(cursor: ReadCursor): String
- def unpackTimestamp(extTypeHeader: ExtTypeHeader, cursor: ReadCursor): Instant
- def unpackTimestamp(cursor: ReadCursor): Instant
- def unpackValue(cursor: ReadCursor): Value
- 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