Instance Method (Default implementation)swift-bson 0.3.1BSONEncoding
encode(to:)
Encodes the elements of this collection to the binary encoder by densely copying each element’s raw memory representation, without any padding.
func encode(to bson: inout BSON.BinaryEncoder)