Static Propertyswift-bson 0.3.1BSONABI
trailer
A document always includes a trailing null byte when serialized.
static var trailer: UInt8? { get }
A document always includes a trailing null byte when serialized.
static var trailer: UInt8? { get }
import BSONABI
Models the BSON type system and the binary interface of the BSON serialization format.
@frozen enum DocumentFrame
Specifies the interpretation of a length header attached to a document
, or a list
document.
@frozen enum BSON
The namespace for all BSON types.
@frozen struct UInt8
An 8-bit unsigned integer value type.
static var skipped: Int { get }
A document’s length header counts its own length. In other words, it skips negative 4 bytes.
var type: BSON.AnyType { get }