trait Packer extends AutoCloseable

Message Packer interface

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

Abstract Value Members

  1. abstract def addPayload(src: Array[Byte], offset: Int, length: Int): Packer.this.type
  2. abstract def addPayload(src: Array[Byte]): Packer.this.type
  3. abstract def close(): Unit
    Definition Classes
    AutoCloseable
    Annotations
    @throws(classOf[java.lang.Exception])
  4. abstract def packArrayHeader(arraySize: Int): Packer.this.type
  5. abstract def packBigInteger(v: BigInteger): Packer.this.type
  6. abstract def packBinaryHeader(len: Int): Packer.this.type
  7. abstract def packBoolean(v: Boolean): Packer.this.type
  8. abstract def packByte(v: Byte): Packer.this.type
  9. abstract def packDouble(v: Double): Packer.this.type
  10. abstract def packExtensionTypeHeader(extType: Byte, payloadLen: Int): Packer.this.type
  11. abstract def packFloat(v: Float): Packer.this.type
  12. abstract def packInt(v: Int): Packer.this.type
  13. abstract def packLong(v: Long): Packer.this.type
  14. abstract def packMapHeader(mapSize: Int): Packer.this.type
  15. abstract def packNil: Packer.this.type
  16. abstract def packRawStringHeader(len: Int): Packer.this.type
  17. abstract def packShort(v: Short): Packer.this.type
  18. abstract def packString(v: String): Packer.this.type
  19. abstract def packTimestamp(epochSecond: Long, nanoAdjustment: Int = 0): Packer.this.type

    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.

  20. abstract def packValue(v: Value): Packer.this.type
  21. abstract def writePayload(src: Array[Byte], offset: Int, length: Int): Packer.this.type
  22. abstract def writePayload(src: Array[Byte]): Packer.this.type

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. def packExtensionTypeHeader(extensionTypeHeader: ExtTypeHeader): Packer.this.type
  15. def packTimestamp(v: Instant): Packer.this.type
  16. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  17. def toString(): String
    Definition Classes
    AnyRef → Any
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  20. 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