Instance Methodswift-bson 0.3.1BSONEncoding->BSONABI
encode(to:)
BSON.List (ext).swift:4func encode(to field: inout BSON.FieldEncoder)
func encode(to field: inout BSON.FieldEncoder)
s7BSONABI4BSONO4ListV12BSONEncodingE6encode2toyAC12FieldEncoderVz_tF
What are these?3MA2U
import BSONEncoding
import BSONABI
Models the BSON type system and the binary interface of the BSON serialization format.
@frozen struct List
@frozen enum BSON
The namespace for all BSON types.
@frozen struct FieldEncoder
A type that can serialize any BSON container element.
init<Encodable>(elements: some Sequence<Encodable>) where Encodable : BSONEncodable
init(with encode: (inout BSON.ListEncoder) throws -> ()) rethrows
Creates an empty list, and initializes it with the given closure.