Instance Methodswift-bson 0.3.1BSONLegacy->BSONABI
singleValueContainer
BSON.SingleValueDecoder.swift:54func singleValueContainer() -> any SingleValueDecodingContainer
func singleValueContainer() -> any SingleValueDecodingContainer
s7BSONABI4BSONO10BSONLegacyE18SingleValueDecoderV06singleE9Containers0de8DecodingH0_pyF
What are these?PTNU
import BSONLegacy
import BSONABI
Models the BSON type system and the binary interface of the BSON serialization format.
struct SingleValueDecoder
A single-value decoding container, for use with compiler-generated Decodable
implementations.
@frozen enum BSON
The namespace for all BSON types.
protocol SingleValueDecodingContainer
A container that can support the storage and direct decoding of a single nonkeyed value.
init(_ value: BSON.AnyValue, path: [any CodingKey], userInfo: [CodingUserInfoKey : Any] = [:])
let codingPath: [any CodingKey]
let userInfo: [CodingUserInfoKey : Any]
func container<Key>(keyedBy _: Key.Type) throws -> KeyedDecodingContainer<Key> where Key : CodingKey
func decode(_: String.Type) throws -> String
func decode(_: Bool.Type) throws -> Bool
func decode(_: Double.Type) throws -> Double
func decode(_: Float.Type) throws -> Float
func decode(_: Int.Type) throws -> Int
func decode(_: UInt.Type) throws -> UInt
func decode(_: Int8.Type) throws -> Int8
func decode(_: Int16.Type) throws -> Int16
func decode(_: Int32.Type) throws -> Int32
func decode(_: Int64.Type) throws -> Int64
func decode(_: UInt8.Type) throws -> UInt8
func decode(_: UInt16.Type) throws -> UInt16
func decode(_: UInt32.Type) throws -> UInt32
func decode(_: UInt64.Type) throws -> UInt64
func decode<T>(_: T.Type) throws -> T where T : Decodable
func decodeNil() -> Bool
func unkeyedContainer() throws -> any UnkeyedDecodingContainer