Initializerswift-bson 0.3.1BSONDecoding->BSONABI
init(_:)
BSON.ListDecoder.swift:12init(_ elements: [BSON.AnyValue])
init(_ elements: [BSON.AnyValue])
s7BSONABI4BSONO12BSONDecodingE11ListDecoderVyAFSayAC8AnyValueOGcfc
What are these?68XUR
import BSONDecoding
import BSONABI
Models the BSON type system and the binary interface of the BSON serialization format.
@frozen struct ListDecoder
A thin wrapper around a native Swift array providing an efficient decoding interface for a List
.
@frozen enum BSON
The namespace for all BSON types.
@frozen enum AnyValue
Any BSON value.
init(parsing bson: borrowing BSON.List) throws
Attempts to create a list decoder from the given list.
init(parsing bson: borrowing BSON.AnyValue) throws
Attempts to unwrap and parse an array-decoder from the given variant.
var elements: [BSON.AnyValue]
var endIndex: Int { get }
var shape: BSON.Shape { get }
The shape of the list being decoded.
var startIndex: Int { get }
subscript(index: Int) -> BSON.FieldDecoder<Int> { get }