trait Packer extends AutoCloseable
Message Packer interface
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- Packer
- AutoCloseable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Abstract Value Members
- abstract def addPayload(src: Array[Byte], offset: Int, length: Int): Packer.this.type
- abstract def addPayload(src: Array[Byte]): Packer.this.type
-
abstract
def
close(): Unit
- Definition Classes
- AutoCloseable
- Annotations
- @throws( classOf[java.lang.Exception] )
- abstract def packArrayHeader(arraySize: Int): Packer.this.type
- abstract def packBigInteger(v: BigInteger): Packer.this.type
- abstract def packBinaryHeader(len: Int): Packer.this.type
- abstract def packBoolean(v: Boolean): Packer.this.type
- abstract def packByte(v: Byte): Packer.this.type
- abstract def packDouble(v: Double): Packer.this.type
- abstract def packExtensionTypeHeader(extType: Byte, payloadLen: Int): Packer.this.type
- abstract def packFloat(v: Float): Packer.this.type
- abstract def packInt(v: Int): Packer.this.type
- abstract def packLong(v: Long): Packer.this.type
- abstract def packMapHeader(mapSize: Int): Packer.this.type
- abstract def packNil: Packer.this.type
- abstract def packRawStringHeader(len: Int): Packer.this.type
- abstract def packShort(v: Short): Packer.this.type
- abstract def packString(v: String): Packer.this.type
-
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.
- abstract def packValue(v: Value): Packer.this.type
- abstract def writePayload(src: Array[Byte], offset: Int, length: Int): Packer.this.type
- abstract def writePayload(src: Array[Byte]): Packer.this.type
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( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- 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 packExtensionTypeHeader(extensionTypeHeader: ExtTypeHeader): Packer.this.type
- def packTimestamp(v: Instant): Packer.this.type
-
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( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated