Entries
Link copied to clipboard
Major type 0.
Link copied to clipboard
Major type 1.
Link copied to clipboard
Major type 2.
Link copied to clipboard
Major type 3.
Link copied to clipboard
Major type 4. An array of data items. In other formats, arrays are also called lists, sequences, or tuples (a "CBOR sequence" is something slightly different, though RFC8742). The argument is the number of data items in the array. Items in an array do not need to all be of the same type. For example, an array that contains 10 items of any type would have an initial byte of 0b100_01010 (major type 4, additional information 10 for the length) followed by the 10 remaining items.