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.
subscript<Encoder>(as _: Encoder.Type, in frame: BSON.DocumentFrame.Type) -> Encoder where Encoder : BSON.Encoder { mutating get set }