Structureswift-bson 1.0.0BSONEncoding->BSONABI
BinaryEncoder
BSON.BinaryEncoder.swift:4@frozen struct BinaryEncoder@frozen struct BinaryEncoderimport BSONABIModels the BSON type system and the binary interface of the BSON serialization format.
import BSONEncodingImplements the BSON encoding system.
@frozen enum BSONThe namespace for all BSON types.
@frozen struct DocumentEncoder<CodingKey> where CodingKey : RawRepresentable, CodingKey.RawValue == String@frozen struct ListEncoderA type that can encode BSON list elements directly to an output buffer.
protocol CopyableA type whose values can be implicitly or explicitly copied.
protocol Encoder<Frame>protocol Escapableprotocol Sendableinit(_ output: consuming BSON.Output) Creates a binary encoder by taking ownership the given output buffer, initializing the binary subtype to generic.
static var frame: BSON.BinaryFrame { get }var subtype: BSON.BinarySubtype { get set }static func += (self: inout Self, bytes: some Sequence<UInt8>) mutating func append(_ byte: UInt8) consuming func move() -> BSON.Output mutating func reserve(another bytes: Int)