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
Ordering
- Alphabetic
- By Inheritance
Inherited
- BSONBinary
- Serializable
- Product
- Equals
- BSONValue
- AnyRef
- Any
Implicitly
- by ExtendedBSONValue
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new BSONBinary(value: ReadableBuffer, subtype: Subtype)
- value
The binary content.
- subtype
The type of the binary content.
Value Members
- 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
- 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
- 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
- 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
- def byteArray: Array[Byte]
Returns the whole binary content as array.
- val code: Byte
The code indicating the BSON type for this value
The code indicating the BSON type for this value
- Definition Classes
- BSONBinary → BSONValue
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- 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
- 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
- val subtype: Subtype
- lazy val toString: String
- Definition Classes
- BSONBinary → AnyRef → Any
- val value: ReadableBuffer