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. abstract class BaseMsgPackReader extends BufferingByteParser

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

    Permalink
  4. sealed abstract class Bool extends Msg

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

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

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

    Permalink
  8. class InputStreamMsgPackReader extends BaseMsgPackReader with BufferingInputStreamParser

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

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

    Permalink
  11. sealed trait Msg extends Readable with Writable

    Permalink

    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

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

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

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

    Permalink
  16. trait Readable extends AnyRef

    Permalink
  17. trait ReadableLowPri extends AnyRef

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

    Permalink
  19. 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 extends ReadableLowPri

    Permalink
  9. object True extends Bool with Product with Serializable

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

    Permalink
  11. def read(s: Readable, trace: Boolean = false): 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

  16. def writeToByteArray(t: Msg): Array[Byte]

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped