Skip to main content

CBOR Major Types

Every CBOR data item starts with a single byte. The upper 3 bits identify the major type (0-7). The lower 5 bits carry the argument or additional info. RFC 8949 §3.