Type Aliasswift-bson 0.3.1BSONABI
Frame
BSON.BinaryView.swift:40typealias Frame = BSON.BinaryFrame
typealias Frame = BSON.BinaryFrame
s7BSONABI4BSONO10BinaryViewVAAs10ArraySliceVys5UInt8VGRszrlE5Framea
What are these?8MW9Y
where Bytes == ArraySlice<UInt8>
import BSONABI
Models the BSON type system and the binary interface of the BSON serialization format.
@frozen struct BinaryView<Bytes> where Bytes : RandomAccessCollection, Bytes.Element == UInt8
A BSON binary array.
@frozen enum BSON
The namespace for all BSON types.
@frozen enum BinaryFrame
Specifies the interpretation of a length header attached to a binary
array.
@frozen struct ArraySlice<Element>
A slice of an Array
, ContiguousArray
, or ArraySlice
instance.
init(slicing bytes: ArraySlice<UInt8>) throws
Removes the first element of the argument, attempts to cast it to a BinarySubtype
, and stores the remainder in bytes
.