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

Fix typo of Usage in README (#1)

there is a duplicate self on the decoding type argment.

authored by

Brook Xi and committed by
GitHub
0e1281d9 848f006e

+1 -1
+1 -1
README.md
··· 54 54 let decoder = CBORDecoder() 55 55 let intValue = try decoder.decode(Int.self, from: Data([0])) // Result: 0 56 56 // Result: ["AB": 1, "A": 2] 57 - let mapValue = try decoder.decode([String: Int].self.self, from: Data([162, 98, 65, 66, 1, 97, 65, 2])) 57 + let mapValue = try decoder.decode([String: Int].self, from: Data([162, 98, 65, 66, 1, 97, 65, 2])) 58 58 ``` 59 59 60 60 The encoder and decoders can be customized via the en/decoder initializers or via a `En/DecodingOptions` struct.