You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -373,6 +373,7 @@ See [Options](#options) section for details about each setting.
373
373
* Decoder always checks for invalid UTF-8 string errors.
374
374
* Decoder always decodes in-place to slices, maps, and structs.
375
375
* Decoder tries case-sensitive first and falls back to case-insensitive field name match when decoding to structs.
376
+
* Decoder supports decoding registered CBOR tag data to interface types.
376
377
* Both encoder and decoder support indefinite length CBOR data (["streaming"](https://tools.ietf.org/html/rfc7049#section-2.2)).
377
378
* Both encoder and decoder correctly handles nil slice, map, pointer, and interface values.
378
379
@@ -454,6 +455,7 @@ If any of these limitations prevent you from using this library, please open an
454
455
* CBOR `Undefined` (0xf7) value decodes to Go's `nil` value. CBOR `Null` (0xf6) more closely matches Go's `nil`.
455
456
* CBOR map keys with data types not supported by Go for map keys are ignored and an error is returned after continuing to decode remaining items.
456
457
* When using io.Reader interface to read very large or indefinite length CBOR data, Go's `io.LimitReader` should be used to limit size.
458
+
* When decoding registered CBOR tag data to interface type, decoder creates a pointer to registered Go type matching CBOR tag number. Requiring a pointer for this is a Go limitation.
0 commit comments