p

upack

package upack

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. upack
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class Arr(value: ArrayBuffer[Msg]) extends Msg with Product with Serializable
  2. abstract class BaseMsgPackReader extends AnyRef
  3. case class Binary(value: Array[Byte]) extends Msg with Product with Serializable
  4. sealed abstract class Bool extends Msg
  5. case class Ext(tag: Byte, data: Array[Byte]) extends Msg with Product with Serializable
  6. case class Float32(value: Float) extends Msg with Product with Serializable
  7. case class Float64(value: Double) extends Msg with Product with Serializable
  8. class InputStreamMsgPackReader extends BaseMsgPackReader with BufferingInputStreamParser
  9. case class Int32(value: Int) extends Msg with Product with Serializable
  10. case class Int64(value: Long) extends Msg with Product with Serializable
  11. sealed trait Msg extends Readable with Writable

    In-memory representation of the MessagePack data model

    In-memory representation of the MessagePack data model

    test - https://msgpack.org/index.html

    Note that we do not model all the fine details of the MessagePack format in this type; fixed and variable length strings/maps/arrays are all modelled using the same Str/Obj/Arr types, and the various sized integers are all collapsed into Int32/Int64/UInt64. The appropriately sized versions are written out when the message is serialized to bytes.

  12. class MsgPackReader extends BaseMsgPackReader
  13. class MsgPackWriter[T <: OutputStream] extends MsgVisitor[T, T]
  14. trait MsgVisitor[-T, +J] extends Visitor[T, J]

    A Visitor specialized to work with msgpack types.

    A Visitor specialized to work with msgpack types. Forwards the not-msgpack-related methods to their msgpack equivalents.

  15. case class Obj(value: LinkedHashMap[Msg, Msg]) extends Msg with Product with Serializable
  16. trait Readable extends AnyRef
  17. case class Str(value: String) extends Msg with Product with Serializable
  18. case class UInt64(value: Long) extends Msg with Product with Serializable

Value Members

  1. def copy(t: Msg): Msg
  2. def read(s: Readable): Msg

    Read the given MessagePack input into a MessagePack struct

  3. def transform[T](t: Readable, v: Visitor[_, T]): T
  4. def validate(s: Readable): Unit

    Parse the given MessagePack input, failing if it is invalid

  5. def write(t: Msg): Array[Byte]

    Write the given MessagePack struct as a binary

  6. def writeTo(t: Msg, out: OutputStream): Unit

    Write the given MessagePack struct as a binary to the given OutputStream

  7. object Arr extends Serializable
  8. object Bool
  9. object False extends Bool with Product with Serializable
  10. object Msg extends MsgVisitor[Msg, Msg]
  11. object MsgPackKeys
  12. object Null extends Msg with Product with Serializable
  13. object Obj extends Serializable
  14. object Readable
  15. object True extends Bool with Product with Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped