Required Instance Propertyswift-mongodb 0.27.0BSONABI
type
The BSON metatype value this buffer frame is associated with.
BSON.BufferFrame.swift:10var type: AnyType { get }
The BSON metatype value this buffer frame is associated with.
BSON.BufferFrame.swift:10var type: AnyType { get }
import BSONABI
Models the BSON type system and the binary interface of the BSON serialization format.
protocol BufferFrame : BSON.BufferFrameType
A type that augments a BufferFrameType
conformance with a BSON metatype value. This is a derived protocol because it is sometimes useful to repurpose the BSON frame parsing machinery for additional (fictional) frame types that never appear in BSON data.
@frozen enum BSON
The namespace for all BSON types.
@frozen enum AnyType
A BSON metatype. The raw value of this enumeration is the type code of the associated case in BSON’s ABI.