MsgpackUnion

msgpack4z.MsgpackUnion
See theMsgpackUnion companion object
sealed abstract class MsgpackUnion extends Product, Serializable

Attributes

Companion
object
Source
MsgpackUnion.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
class MsgpackArray
class MsgpackExt
object MsgpackFalse
class MsgpackLong
class MsgpackMap
object MsgpackNil
object MsgpackTrue
class MsgpackULong
Show all

Members list

Value members

Concrete methods

final def ===(that: MsgpackUnion): Boolean

Attributes

Source
MsgpackUnion.scala
final def array: Opt[List[MsgpackUnion]]

Attributes

Source
MsgpackUnion.scala
final def as[A](factory: PackerUnpackerFactory)(implicit A: MsgpackCodec[A]): UnpackResult[A]

Attributes

Source
MsgpackUnion.scala
final def binary: Opt[Array[Byte]]

Attributes

Source
MsgpackUnion.scala
final def bool: Option[Boolean]

Attributes

Source
MsgpackUnion.scala
final def double: Option[Double]

Attributes

Source
MsgpackUnion.scala
final def ext: Opt[(Byte, Array[Byte])]

Attributes

Source
MsgpackUnion.scala
final def fold[A](string: String => A, binary: (Array[Byte]) => A, long: Long => A, ulong: BigInteger => A, double: Double => A, array: (List[MsgpackUnion]) => A, map: (Map[MsgpackUnion, MsgpackUnion]) => A, bool: Boolean => A, ext: (Byte, Array[Byte]) => A, nil: => A): A

Attributes

Source
MsgpackUnion.scala
final def foldOpt[A](string: String => Option[A], binary: (Array[Byte]) => Option[A], long: Long => Option[A], ulong: BigInteger => Option[A], double: Double => Option[A], array: (List[MsgpackUnion]) => Option[A], map: (Map[MsgpackUnion, MsgpackUnion]) => Option[A], bool: Boolean => Option[A], ext: (Byte, Array[Byte]) => Option[A], nil: Option[A]): Option[A]

Attributes

Source
MsgpackUnion.scala
final def imap: Opt[MsgpackUnion ==>> MsgpackUnion]

Attributes

Source
MsgpackUnion.scala
final def isFalse: Boolean

Attributes

Source
MsgpackUnion.scala
final def isNaN: Boolean

Attributes

Source
MsgpackUnion.scala
final def isNil: Boolean

Attributes

Source
MsgpackUnion.scala
final def isTrue: Boolean

Attributes

Source
MsgpackUnion.scala
final def long: Option[Long]

Attributes

Source
MsgpackUnion.scala
final def map: Opt[Map[MsgpackUnion, MsgpackUnion]]

Attributes

Source
MsgpackUnion.scala
final def string: Opt[String]

Attributes

Source
MsgpackUnion.scala
final def ulong: Opt[BigInteger]

Attributes

Source
MsgpackUnion.scala
final def vector: Opt[Vector[MsgpackUnion]]

Attributes

Source
MsgpackUnion.scala

Inherited methods

def canEqual(that: Any): Boolean

Attributes

Inherited from:
Equals
def productArity: Int

Attributes

Inherited from:
Product
def productElement(n: Int): Any

Attributes

Inherited from:
Product
def productElementName(n: Int): String

Attributes

Inherited from:
Product
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def productPrefix: String

Attributes

Inherited from:
Product