A UTF-8 string’s length header does not count its own length.
static var skipped: Int { get }
s7BSONABI4BSONO9UTF8FrameO7skippedSivpZ
4RMRP
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.
string
@frozen enum BSON
The namespace for all BSON types.
@frozen struct Int
A signed integer value type.
static var trailer: UInt8? { get }
A UTF-8 string always includes a trailing null byte when serialized.
var type: BSON.AnyType { get }