A fast, safe, and efficient CBOR serialization library for Swift on any platform. swiftpackageindex.com/thecoolwinter/CBOR/1.1.1/documentation/cbor
atproto swift cbor

Decode 'undefined' values (simple, 23) as `nil`.

+1 -1
+1 -1
Sources/CBOR/Decoder/Containers/DataRegion.swift
··· 66 66 67 67 func isNil() -> Bool { 68 68 // This shouldn't modify the data stack. We just peek here. 69 - type == .simple && argument == 22 69 + type == .simple && (argument == 22 || argument == 23) 70 70 } 71 71 72 72 /// Reads the next variable-sized integer off the data stack.