1*ae9cfef6Schristos 2*ae9cfef6Schristos#------------------------------------------------------------------------------ 3*ae9cfef6Schristos# $File: cbor,v 1.1 2015/01/28 01:05:21 christos Exp $ 4*ae9cfef6Schristos# cbor: file(1) magic for CBOR files as defined in RFC 7049 5*ae9cfef6Schristos 6*ae9cfef6Schristos0 string \xd9\xd9\xf7 Concise Binary Object Representation (CBOR) container 7*ae9cfef6Schristos!:mime application/cbor 8*ae9cfef6Schristos>3 ubyte <0x20 (positive integer) 9*ae9cfef6Schristos>3 ubyte <0x40 10*ae9cfef6Schristos>>3 ubyte >0x1f (negative integer) 11*ae9cfef6Schristos>3 ubyte <0x60 12*ae9cfef6Schristos>>3 ubyte >0x3f (byte string) 13*ae9cfef6Schristos>3 ubyte <0x80 14*ae9cfef6Schristos>>3 ubyte >0x5f (text string) 15*ae9cfef6Schristos>3 ubyte <0xa0 16*ae9cfef6Schristos>3 ubyte >0x7f (array) 17*ae9cfef6Schristos>3 ubyte <0xc0 18*ae9cfef6Schristos>>3 ubyte >0x9f (map) 19*ae9cfef6Schristos>3 ubyte <0xe0 20*ae9cfef6Schristos>>3 ubyte >0xbf (tagged) 21*ae9cfef6Schristos>3 ubyte >0xdf (other) 22