Trait/Object

upack

Msg

Related Docs: object Msg | package upack

Permalink

sealed trait Msg extends Readable

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.

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Msg
  2. Readable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def arr: ArrayBuffer[Msg]

    Permalink

    Returns the elements of this Msg, fails if it is not a upack.Arr

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def binary: Array[Byte]

    Permalink

    Returns the String value of this Msg, fails if it is not a upack.Str

  7. def bool: Boolean

    Permalink

    Returns the Boolean value of this Msg, fails if it is not a upack.Bool

  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  14. def int32: Int

    Permalink

    Returns the Double value of this Msg, fails if it is not a upack.Int32, upack.Int64 or upack.UInt64

  15. def int64: Long

    Permalink

    Returns the Double value of this Msg, fails if it is not a upack.Int32, upack.Int64 or upack.UInt64

  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. def isNull: Boolean

    Permalink

    Returns true if the value of this Msg is ujson.Null, false otherwise

  18. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. def obj: LinkedHashMap[Msg, Msg]

    Permalink

    Returns the key/value map of this Msg, fails if it is not a upack.Obj

  22. def str: String

    Permalink

    Returns the String value of this Msg, fails if it is not a upack.Str

  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  25. def transform[T](f: Visitor[_, T]): T

    Permalink
    Definition Classes
    MsgReadable
  26. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Readable

Inherited from AnyRef

Inherited from Any

Ungrouped