Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
bson
v0.3.6
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
Generated using Crystal 1.12.2
2024-07-27 07:40:54 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
]