Trait

wvlet.airframe.msgpack.spi

BufferPacker

Related Doc: package spi

Permalink

trait BufferPacker extends Packer

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

Abstract Value Members

  1. abstract def addPayload(src: Array[Byte], offset: Int, length: Int): BufferPacker.this.type

    Permalink
    Definition Classes
    Packer
  2. abstract def addPayload(src: Array[Byte]): BufferPacker.this.type

    Permalink
    Definition Classes
    Packer
  3. abstract def clear: Unit

    Permalink
  4. abstract def close(): Unit

    Permalink
    Definition Classes
    AutoCloseable
    Annotations
    @throws( classOf[java.lang.Exception] )
  5. abstract def packArrayHeader(arraySize: Int): BufferPacker.this.type

    Permalink
    Definition Classes
    Packer
  6. abstract def packBigInteger(v: BigInteger): BufferPacker.this.type

    Permalink
    Definition Classes
    Packer
  7. abstract def packBinaryHeader(len: Int): BufferPacker.this.type

    Permalink
    Definition Classes
    Packer
  8. abstract def packBoolean(v: Boolean): BufferPacker.this.type

    Permalink
    Definition Classes
    Packer
  9. abstract def packByte(v: Byte): BufferPacker.this.type

    Permalink
    Definition Classes
    Packer
  10. abstract def packDouble(v: Double): BufferPacker.this.type

    Permalink
    Definition Classes
    Packer
  11. abstract def packExtensionTypeHeader(extType: Byte, payloadLen: Int): BufferPacker.this.type

    Permalink
    Definition Classes
    Packer
  12. abstract def packFloat(v: Float): BufferPacker.this.type

    Permalink
    Definition Classes
    Packer
  13. abstract def packInt(v: Int): BufferPacker.this.type

    Permalink
    Definition Classes
    Packer
  14. abstract def packLong(v: Long): BufferPacker.this.type

    Permalink
    Definition Classes
    Packer
  15. abstract def packMapHeader(mapSize: Int): BufferPacker.this.type

    Permalink
    Definition Classes
    Packer
  16. abstract def packNil: BufferPacker.this.type

    Permalink
    Definition Classes
    Packer
  17. abstract def packRawStringHeader(len: Int): BufferPacker.this.type

    Permalink
    Definition Classes
    Packer
  18. abstract def packShort(v: Short): BufferPacker.this.type

    Permalink
    Definition Classes
    Packer
  19. abstract def packString(v: String): BufferPacker.this.type

    Permalink
    Definition Classes
    Packer
  20. abstract def packTimestamp(epochSecond: Long, nanoAdjustment: Int = 0): BufferPacker.this.type

    Permalink

    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.

    Definition Classes
    Packer
  21. abstract def packValue(v: Value): BufferPacker.this.type

    Permalink
    Definition Classes
    Packer
  22. abstract def toByteArray: Array[Byte]

    Permalink
  23. abstract def writePayload(src: Array[Byte], offset: Int, length: Int): BufferPacker.this.type

    Permalink
    Definition Classes
    Packer
  24. abstract def writePayload(src: Array[Byte]): BufferPacker.this.type

    Permalink
    Definition Classes
    Packer

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  9. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  10. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  11. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  13. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  14. def packExtensionTypeHeader(extensionTypeHeader: ExtTypeHeader): BufferPacker.this.type

    Permalink
    Definition Classes
    Packer
  15. def packTimestamp(v: Instant): BufferPacker.this.type

    Permalink
    Definition Classes
    Packer
  16. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  17. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Packer

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped