Instance Propertyswift-bson 0.3.1BSONABI
type
BSON.UTF8Frame.swift:14var type: BSON.AnyType { get }
var type: BSON.AnyType { get }
import BSONABI
Models the BSON type system and the binary interface of the BSON serialization format.
@frozen enum UTF8Frame
Specifies the interpretation of a length header attached to UTF-8 string
.
@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.
static var skipped: Int { get }
A UTF-8 string’s length header does not count its own length.
static var trailer: UInt8? { get }
A UTF-8 string always includes a trailing null byte when serialized.