Classes | Namespaces | Functions | Variables
cbor.py File Reference

Go to the source code of this file.

Classes

class  rosbridge_library.util.cbor.Tag
 

Namespaces

 rosbridge_library.util.cbor
 

Functions

def rosbridge_library.util.cbor._bytes_to_biguint (bs)
 
def rosbridge_library.util.cbor._dumps_bignum_to_bytearray (val)
 
def rosbridge_library.util.cbor._encode_type_num (cbor_type, val)
 
def rosbridge_library.util.cbor._is_intish (x)
 
def rosbridge_library.util.cbor._is_stringish (x)
 
def rosbridge_library.util.cbor._is_unicode (val)
 
def rosbridge_library.util.cbor._loads (fp, limit=None, depth=0, returntags=False)
 
def rosbridge_library.util.cbor._loads_array (fp, limit, depth, returntags, aux, bytes_read)
 
def rosbridge_library.util.cbor._loads_map (fp, limit, depth, returntags, aux, bytes_read)
 
def rosbridge_library.util.cbor._loads_tb (fp, tb, limit=None, depth=0, returntags=False)
 
def rosbridge_library.util.cbor._loads_var_array (fp, limit, depth, returntags, bytes_read)
 
def rosbridge_library.util.cbor._loads_var_map (fp, limit, depth, returntags, bytes_read)
 
def rosbridge_library.util.cbor._read_byte (fp)
 
def rosbridge_library.util.cbor._tag_aux (fp, tb)
 
def rosbridge_library.util.cbor.dump (obj, fp, sort_keys=False)
 
def rosbridge_library.util.cbor.dumps (ob, sort_keys=False)
 
def rosbridge_library.util.cbor.dumps_array (arr, sort_keys=False)
 
def rosbridge_library.util.cbor.dumps_bool (b)
 
def rosbridge_library.util.cbor.dumps_dict (d, sort_keys=False)
 
def rosbridge_library.util.cbor.dumps_float (val)
 
def rosbridge_library.util.cbor.dumps_int (val)
 
def rosbridge_library.util.cbor.dumps_string (val, is_text=None, is_bytes=None)
 
def rosbridge_library.util.cbor.dumps_tag (t, sort_keys=False)
 
def rosbridge_library.util.cbor.load (fp)
 
def rosbridge_library.util.cbor.loads (data)
 
def rosbridge_library.util.cbor.loads_bytes (fp, aux, btag=CBOR_BYTES)
 
def rosbridge_library.util.cbor.tagify (ob, aux)
 

Variables

 rosbridge_library.util.cbor._CBOR_TAG_BIGNUM_BYTES = struct.pack('B', CBOR_TAG | CBOR_TAG_BIGNUM)
 
 rosbridge_library.util.cbor._CBOR_TAG_NEGBIGNUM_BYTES = struct.pack('B', CBOR_TAG | CBOR_TAG_NEGBIGNUM)
 
int rosbridge_library.util.cbor._IS_PY3 = 3
 
int rosbridge_library.util.cbor._MAX_DEPTH = 100
 
int rosbridge_library.util.cbor.CBOR_7 = 0xE0
 
int rosbridge_library.util.cbor.CBOR_ARRAY = 0x80
 
int rosbridge_library.util.cbor.CBOR_BREAK = 0xFF
 
int rosbridge_library.util.cbor.CBOR_BYTES = 0x40
 
tuple rosbridge_library.util.cbor.CBOR_FALSE = (CBOR_7 | 20)
 
tuple rosbridge_library.util.cbor.CBOR_FLOAT16 = (CBOR_7 | 25)
 
tuple rosbridge_library.util.cbor.CBOR_FLOAT32 = (CBOR_7 | 26)
 
tuple rosbridge_library.util.cbor.CBOR_FLOAT64 = (CBOR_7 | 27)
 
int rosbridge_library.util.cbor.CBOR_INFO_BITS = 0x1F
 
int rosbridge_library.util.cbor.CBOR_MAP = 0xA0
 
int rosbridge_library.util.cbor.CBOR_NEGINT = 0x20
 
tuple rosbridge_library.util.cbor.CBOR_NULL = (CBOR_7 | 22)
 
int rosbridge_library.util.cbor.CBOR_TAG = 0xC0
 
int rosbridge_library.util.cbor.CBOR_TAG_BASE16 = 23
 
int rosbridge_library.util.cbor.CBOR_TAG_BASE64 = 22
 
int rosbridge_library.util.cbor.CBOR_TAG_BASE64URL = 21
 
int rosbridge_library.util.cbor.CBOR_TAG_BIGFLOAT = 5
 
int rosbridge_library.util.cbor.CBOR_TAG_BIGNUM = 2
 
int rosbridge_library.util.cbor.CBOR_TAG_CBOR = 24
 
int rosbridge_library.util.cbor.CBOR_TAG_CBOR_FILEHEADER = 55799
 
int rosbridge_library.util.cbor.CBOR_TAG_DATE_ARRAY = 1
 
int rosbridge_library.util.cbor.CBOR_TAG_DATE_STRING = 0
 
int rosbridge_library.util.cbor.CBOR_TAG_DECIMAL = 4
 
int rosbridge_library.util.cbor.CBOR_TAG_MIME = 36
 
int rosbridge_library.util.cbor.CBOR_TAG_NEGBIGNUM = 3
 
int rosbridge_library.util.cbor.CBOR_TAG_REGEX = 35
 
int rosbridge_library.util.cbor.CBOR_TAG_URI = 32
 
int rosbridge_library.util.cbor.CBOR_TEXT = 0x60
 
tuple rosbridge_library.util.cbor.CBOR_TRUE = (CBOR_7 | 21)
 
int rosbridge_library.util.cbor.CBOR_TYPE_MASK = 0xE0
 
int rosbridge_library.util.cbor.CBOR_UINT = 0x00
 
int rosbridge_library.util.cbor.CBOR_UINT16_FOLLOWS = 25
 
int rosbridge_library.util.cbor.CBOR_UINT32_FOLLOWS = 26
 
int rosbridge_library.util.cbor.CBOR_UINT64_FOLLOWS = 27
 
int rosbridge_library.util.cbor.CBOR_UINT8_FOLLOWS = 24
 
tuple rosbridge_library.util.cbor.CBOR_UNDEFINED = (CBOR_7 | 23)
 
int rosbridge_library.util.cbor.CBOR_VAR_FOLLOWS = 31
 


rosbridge_library
Author(s): Jonathan Mace
autogenerated on Fri May 10 2019 02:17:02