Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
bson
v0.3.4
Array
BigInt
Bool
BSON
Binary
SubType
Code
DBPointer
Decimal128
InvalidRange
InvalidString
Element
Field
Item
MaxKey
MinKey
ObjectId
StringConverter
Options
RecursiveValue
Serializable
Symbol
Timestamp
Undefined
Value
Float64
Hash
Int32
Int64
NamedTuple
Nil
Regex
Slice
String
Time
UUID
Built with Crystal 1.9.2
2023-10-08 12:01:36 UTC
struct
BSON::Binary
BSON::Binary
Struct
Value
Object
Overview
Binary data.
Defined in:
bson/binary.cr
Constructors
.new
(subtype : SubType, data : Bytes)
.new
(uuid : UUID)
Instance Method Summary
#data
: Slice(UInt8)
#subtype
: BSON::Binary::SubType
Constructor Detail
def self.
new
(subtype :
SubType
, data : Bytes)
#
[
View source
]
def self.
new
(uuid :
UUID
)
#
[
View source
]
Instance Method Detail
def
data
:
Slice(UInt8)
#
[
View source
]
def
subtype
:
BSON::Binary::SubType
#
[
View source
]