Packages

case class BSONBinary(value: ReadableBuffer, subtype: Subtype) extends BSONValue with Product with Serializable

A BSON binary value.

value

The binary content.

subtype

The type of the binary content.

Linear Supertypes
Serializable, Product, Equals, BSONValue, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BSONBinary
  2. Serializable
  3. Product
  4. Equals
  5. BSONValue
  6. AnyRef
  7. Any
Implicitly
  1. by ExtendedBSONValue
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new BSONBinary(value: ReadableBuffer, subtype: Subtype)

    value

    The binary content.

    subtype

    The type of the binary content.

Value Members

  1. def as[T](implicit reader: BSONReader[BSONBinary, T]): T
    Implicit
    This member is added by an implicit conversion from BSONBinary toExtendedBSONValue[BSONBinary] performed by method ExtendedBSONValue in reactivemongo.bson.BSONValue.
    Definition Classes
    ExtendedBSONValue
  2. def asOpt[T](implicit reader: BSONReader[BSONBinary, T]): Option[T]
    Implicit
    This member is added by an implicit conversion from BSONBinary toExtendedBSONValue[BSONBinary] performed by method ExtendedBSONValue in reactivemongo.bson.BSONValue.
    Definition Classes
    ExtendedBSONValue
  3. def asTry[T](implicit reader: BSONReader[BSONBinary, T]): Try[T]
    Implicit
    This member is added by an implicit conversion from BSONBinary toExtendedBSONValue[BSONBinary] performed by method ExtendedBSONValue in reactivemongo.bson.BSONValue.
    Definition Classes
    ExtendedBSONValue
  4. val bson: BSONBinary
    Implicit
    This member is added by an implicit conversion from BSONBinary toExtendedBSONValue[BSONBinary] performed by method ExtendedBSONValue in reactivemongo.bson.BSONValue.
    Definition Classes
    ExtendedBSONValue
  5. def byteArray: Array[Byte]

    Returns the whole binary content as array.

  6. val code: Byte

    The code indicating the BSON type for this value

    The code indicating the BSON type for this value

    Definition Classes
    BSONBinaryBSONValue
  7. def productElementNames: Iterator[String]
    Definition Classes
    Product
  8. def seeAsOpt[T](implicit reader: BSONReader[_ <: BSONValue, T]): Option[T]
    Implicit
    This member is added by an implicit conversion from BSONBinary toExtendedBSONValue[BSONBinary] performed by method ExtendedBSONValue in reactivemongo.bson.BSONValue.
    Definition Classes
    ExtendedBSONValue
  9. def seeAsTry[T](implicit reader: BSONReader[_ <: BSONValue, T]): Try[T]
    Implicit
    This member is added by an implicit conversion from BSONBinary toExtendedBSONValue[BSONBinary] performed by method ExtendedBSONValue in reactivemongo.bson.BSONValue.
    Definition Classes
    ExtendedBSONValue
  10. val subtype: Subtype
  11. lazy val toString: String
    Definition Classes
    BSONBinary → AnyRef → Any
  12. val value: ReadableBuffer