struct

BSON::Binary

Inherits Struct < Value < Object

Binary data.

Constructors

from_packed_bit_vector(vector : Indexable(UInt8), padding : Int = 0) : self
Source
from_packed_bit_vector(vector : Indexable(Int32), padding : Int = 0) : self
Source
from_vector(vector : Indexable(Float32)) : self
Source
from_vector(vector : Indexable(Float64)) : self
Source
from_vector(vector : Indexable(Int8)) : self
Source
from_vector(vector : Indexable(Int32)) : self
Source
new(subtype : SubType, data : Bytes)
Source
new(uuid : UUID, representation : UuidRepresentation = UuidRepresentation::Standard)
Source

Instance methods

as_uuid(representation : UuidRepresentation) : UUID
Source
as_uuid
Source
data
Source
subtype
Source
to_vector
Source

Nested types