Tag

io.bullet.borer.Tag$
See theTag companion class
object Tag

Attributes

Companion:
class
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Tag.type

Members list

Concise view

Type members

Classlikes

case object BigFloat extends Tag

The element following this tag is an array that contains exactly two integer numbers:

The element following this tag is an array that contains exactly two integer numbers:

  1. Exponent e with base 2 (must be Int or Long, i.e. BigNum is disallowed)
  2. Mantissa m (Int, Long or BigNum) The value of the bigfloat is is m*(2**e).

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Tag
class Object
trait Matchable
class Any
Self type
case object DateTimeString extends Tag

The element following this tag is a date/time string that follows the standard format described in [RFC3339], as refined by Section 3.3 of [RFC4287].

The element following this tag is a date/time string that follows the standard format described in [RFC3339], as refined by Section 3.3 of [RFC4287].

Attributes

See also:
Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Tag
class Object
trait Matchable
class Any
Self type
case object DecimalFraction extends Tag

The element following this tag is an array that contains exactly two integer numbers:

The element following this tag is an array that contains exactly two integer numbers:

  1. Exponent e with base 10 (must be Int or Long, i.e. BigNum is disallowed)
  2. Mantissa m (Int, Long or BigNum) The value of the decimal fraction is m*(10**e).

NOTE: This tag isn't actually ever produced by the CBOR parser, since it has built-in support for it and immediately produces a java.math.BigDecimal instead.

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Tag
class Object
trait Matchable
class Any
Self type
case object EmbeddedCBOR extends Tag

The element following this tag is a ByteString containing undecoded CBOR bytes.

The element following this tag is a ByteString containing undecoded CBOR bytes.

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Tag
class Object
trait Matchable
class Any
Self type
case object EpochDateTime extends Tag

The element following this tag is a numerical representation of seconds relative to 1970-01-01T00:00Z in UTC time. (For the non-negative values that the Portable Operating System Interface (POSIX) defines, the number of seconds is counted in the same way as for POSIX "seconds since the epoch" [TIME_T].) The tagged item can be an Int, Long, Float or Double. Note that the number can be negative (time before 1970-01-01T00:00Z) and, if a floating-point number, indicate fractional seconds.

The element following this tag is a numerical representation of seconds relative to 1970-01-01T00:00Z in UTC time. (For the non-negative values that the Portable Operating System Interface (POSIX) defines, the number of seconds is counted in the same way as for POSIX "seconds since the epoch" [TIME_T].) The tagged item can be an Int, Long, Float or Double. Note that the number can be negative (time before 1970-01-01T00:00Z) and, if a floating-point number, indicate fractional seconds.

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Tag
class Object
trait Matchable
class Any
Self type
case object HintBase16 extends Tag

The element following this tag is a byte string, which should be base16-encoded in potential downstream text-based representation like JSON.

The element following this tag is a byte string, which should be base16-encoded in potential downstream text-based representation like JSON.

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Tag
class Object
trait Matchable
class Any
Self type
case object HintBase64 extends Tag

The element following this tag is a byte string, which should be base64-encoded in potential downstream text-based representation like JSON.

The element following this tag is a byte string, which should be base64-encoded in potential downstream text-based representation like JSON.

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Tag
class Object
trait Matchable
class Any
Self type
case object HintBase64url extends Tag

The element following this tag is a byte string, which should be base64url-encoded in potential downstream text-based representation like JSON.

The element following this tag is a byte string, which should be base64url-encoded in potential downstream text-based representation like JSON.

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Tag
class Object
trait Matchable
class Any
Self type
case object MagicHeader extends Tag

A "NOP" tag without any semantic meaning whatsoever for the following data item. It does have a somewhat unique wire-format making it suitable as a "magic header" in cases where the content of encoding type of serialized bytes needs to be disambiguated by simply analyzing the bytes themselves.

A "NOP" tag without any semantic meaning whatsoever for the following data item. It does have a somewhat unique wire-format making it suitable as a "magic header" in cases where the content of encoding type of serialized bytes needs to be disambiguated by simply analyzing the bytes themselves.

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Tag
class Object
trait Matchable
class Any
Self type
case object NegativeBigNum extends Tag

The element following this tag is a byte string data item, which is interpreted as an unsigned integer n in network byte order. The semantic value is -1 - n. There might be leading zeroes!

The element following this tag is a byte string data item, which is interpreted as an unsigned integer n in network byte order. The semantic value is -1 - n. There might be leading zeroes!

NOTE: This tag isn't actually ever produced by the CBOR parser, since it has built-in support for it and immediately produces a java.math.BigInteger instead.

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Tag
class Object
trait Matchable
class Any
Self type
final case class Other(value: Long) extends Tag

A tag value whose semantics are unknown to this encoder/decoder.

A tag value whose semantics are unknown to this encoder/decoder.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Tag
class Object
trait Matchable
class Any
case object PositiveBigNum extends Tag

The element following this tag is a byte string data item, which is interpreted as an unsigned integer n in network byte order. There might be leading zeroes!

The element following this tag is a byte string data item, which is interpreted as an unsigned integer n in network byte order. There might be leading zeroes!

NOTE: This tag isn't actually ever produced by the CBOR parser, since it has built-in support for it and immediately produces a java.math.BigInteger instead.

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Tag
class Object
trait Matchable
class Any
Self type
case object TextBase64 extends Tag

The element following this tag is a Text element containing base64-encoded data.

The element following this tag is a Text element containing base64-encoded data.

Attributes

See also:
Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Tag
class Object
trait Matchable
class Any
Self type
case object TextBase64Url extends Tag

The element following this tag is a Text element containing base64url-encoded data.

The element following this tag is a Text element containing base64url-encoded data.

Attributes

See also:
Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Tag
class Object
trait Matchable
class Any
Self type
case object TextMime extends Tag

The element following this tag is a Text element containing a MIME message (including all headers), as defined in RFC2045.

The element following this tag is a Text element containing a MIME message (including all headers), as defined in RFC2045.

Attributes

See also:
Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Tag
class Object
trait Matchable
class Any
Self type
case object TextRegex extends Tag

The element following this tag is a Text element containing a regular expression in Perl Compatible Regular Expressions (PCRE) / JavaScript syntax.

The element following this tag is a Text element containing a regular expression in Perl Compatible Regular Expressions (PCRE) / JavaScript syntax.

Attributes

See also:
Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Tag
class Object
trait Matchable
class Any
Self type
case object TextUri extends Tag

The element following this tag is a Text element containing a URI as defined in RFC3986.

The element following this tag is a Text element containing a URI as defined in RFC3986.

Attributes

See also:
Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Tag
class Object
trait Matchable
class Any
Self type
TextUri.type

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Implicits

Implicits

implicit val codec: Codec[Tag]