Instance Methodswift-bson 0.3.1BSONLegacy->BSONABI
decode(_:)
BSON.SingleValueDecoder.swift:132func decode(_: UInt.Type) throws -> UInt
func decode(_: UInt.Type) throws -> UInt
s7BSONABI4BSONO10BSONLegacyE18SingleValueDecoderV6decodeyS2umKF
What are these?56VH8
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.
@frozen struct UInt
An unsigned integer value type.
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(_: 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 singleValueContainer() -> any SingleValueDecodingContainer
func unkeyedContainer() throws -> any UnkeyedDecodingContainer