SwiftCBOR icon indicating copy to clipboard operation
SwiftCBOR copied to clipboard

Prevent throwing of error for unsupported tags

Open mikekelly opened this issue 2 years ago • 0 comments

I'm handling a cbor message that is tagged with a value that's not supported and so trying to decode the message throws this error:

https://github.com/valpackett/SwiftCBOR/blob/edc01765cf6b3685bb622bb09242ef5964fb991b/Sources/Decoder/UnkeyedDecodingContainer.swift#L228

What's the easiest way for me to patch this so that it defaults to handling as if it was a bytestring?

mikekelly avatar Jan 27 '24 19:01 mikekelly