Package

upack

Permalink

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

    Permalink
  2. case class Binary(value: Array[Byte]) extends Msg with Product with Serializable

    Permalink
  3. sealed abstract class Bool extends Msg

    Permalink
  4. case class Ext(tag: Byte, data: Array[Byte]) extends Msg with Product with Serializable

    Permalink
  5. case class Float32(value: Float) extends Msg with Product with Serializable

    Permalink
  6. case class Float64(value: Double) extends Msg with Product with Serializable

    Permalink
  7. case class Int32(value: Int) extends Msg with Product with Serializable

    Permalink
  8. case class Int64(value: Long) extends Msg with Product with Serializable

    Permalink
  9. sealed trait Msg extends Readable

    Permalink

    In-memory representation of the MessagePack data model

    In-memory representation of the MessagePack data model

    - 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.

  10. class MsgPackReader extends AnyRef

    Permalink
  11. class MsgPackWriter[T <: OutputStream] extends MsgVisitor[T, T]

    Permalink
  12. trait MsgVisitor[-T, +J] extends Visitor[T, J]

    Permalink

    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.

  13. case class Obj(value: LinkedHashMap[Msg, Msg]) extends Msg with Product with Serializable

    Permalink
  14. trait Readable extends AnyRef

    Permalink
  15. case class Str(value: String) extends Msg with Product with Serializable

    Permalink
  16. case class UInt64(value: Long) extends Msg with Product with Serializable

    Permalink

Value Members

  1. object Arr extends Serializable

    Permalink
  2. object Bool

    Permalink
  3. object False extends Bool with Product with Serializable

    Permalink
  4. object Msg extends MsgVisitor[Msg, Msg]

    Permalink
  5. object MsgPackKeys

    Permalink
  6. object Null extends Msg with Product with Serializable

    Permalink
  7. object Obj extends Serializable

    Permalink
  8. object Readable

    Permalink
  9. object True extends Bool with Product with Serializable

    Permalink
  10. def copy(t: Msg): Msg

    Permalink
  11. def read(s: Readable): Msg

    Permalink

    Read the given MessagePack input into a MessagePack struct

  12. def transform[T](t: Readable, v: Visitor[_, T]): T

    Permalink
  13. def validate(s: Readable): Unit

    Permalink

    Parse the given MessagePack input, failing if it is invalid

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

    Permalink

    Write the given MessagePack struct as a binary

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

    Permalink

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

Inherited from AnyRef

Inherited from Any

Ungrouped