Skip to content

Commit

Permalink
Merge pull request #2 from veraison/cbor-tag-range-fix
Browse files Browse the repository at this point in the history
Fix CBOR tag range
  • Loading branch information
thomas-fossati authored Apr 24, 2023
2 parents 589b768 + 142411c commit a7c450c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmw.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ func sniff(b []byte) Serialization {

if b[0] == 0x82 || b[0] == 0x83 {
return CBORArray
} else if b[0] >= 0xc0 && b[0] <= 0xdf {
} else if b[0] >= 0xc0 && b[0] <= 0xdb {
return CBORTag
} else if b[0] == 0x5b {
return JSONArray
Expand Down

0 comments on commit a7c450c

Please sign in to comment.