Trait/Object

upack

Msg

Related Docs: object Msg | package upack

Permalink

sealed trait Msg extends Readable with Writable

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.

Linear Supertypes
Writable, Readable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Msg
  2. Writable
  3. Readable
  4. AnyRef
  5. 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. def contentLength: Option[Long]

    Permalink
    Definition Classes
    Writable
  10. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  15. def httpContentType: Some[String]

    Permalink
    Definition Classes
    Msg → Writable
  16. def int32: Int

    Permalink

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

  17. def int64: Long

    Permalink

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

  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. def isNull: Boolean

    Permalink

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

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

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

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

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

    Permalink

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

  24. def str: String

    Permalink

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. def writeBytesTo(out: OutputStream): Unit

    Permalink
    Definition Classes
    Msg → Writable

Inherited from Writable

Inherited from Readable

Inherited from AnyRef

Inherited from Any

Ungrouped