1 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 5 6 0 string \xd9\xd9\xf7 Concise Binary Object Representation (CBOR) container 7 !:mime application/cbor 8 >3 ubyte <0x20 (positive integer) 9 >3 ubyte <0x40 10 >>3 ubyte >0x1f (negative integer) 11 >3 ubyte <0x60 12 >>3 ubyte >0x3f (byte string) 13 >3 ubyte <0x80 14 >>3 ubyte >0x5f (text string) 15 >3 ubyte <0xa0 16 >3 ubyte >0x7f (array) 17 >3 ubyte <0xc0 18 >>3 ubyte >0x9f (map) 19 >3 ubyte <0xe0 20 >>3 ubyte >0xbf (tagged) 21 >3 ubyte >0xdf (other) 22