2 #------------------------------------------------------------------------------
3 # $File: cbor,v 1.1 2015/01/28 01:05:21 christos Exp $
4 # cbor: file(1) magic for CBOR files as defined in RFC 7049
6 0 string \xd9\xd9\xf7 Concise Binary Object Representation (CBOR) container
7 !:mime application/cbor
8 >3 ubyte <0x20 (positive integer)
10 >>3 ubyte >0x1f (negative integer)
12 >>3 ubyte >0x3f (byte string)
14 >>3 ubyte >0x5f (text string)
16 >3 ubyte >0x7f (array)
20 >>3 ubyte >0xbf (tagged)
21 >3 ubyte >0xdf (other)