Instance Subscriptswift-bson 0.3.1BSONABI

subscript(as:in:)

Temporarily rebinds this output’s storage buffer to an encoder of the specified type, bracketing it with the appropriate headers or trailers.

BSON.Output.swift:190
subscript<Encoder>(as _: Encoder.Type, in frame: BSON.DocumentFrame.Type) -> Encoder where Encoder : BSON.Encoder { mutating get set }