Global

Members

conversionArrayTypes

We can also decode 64-bit integer arrays, since ROS has these types.
Source:

nativeArrayTypes

Support a subset of draft CBOR typed array tags: Only support little-endian tags for now.
Source:

ROSLIB

If you use roslib in a browser, all the classes will be exported to a global variable called ROSLIB. If you use nodejs, this is the variable you get when you require('roslib')
Source:

Methods

cborTypedArrayTagger(data, tag)

Handles CBOR typed array tags during decoding.
Parameters:
Name Type Description
data Uint8Array
tag Number
Source:

decodeInt64LE(bytes)

Unpacks 64-bit signed integer from byte array.
Parameters:
Name Type Description
bytes Uint8Array
Source:

decodeNativeArray(bytes, ArrayType)

Unpacks typed array from byte array.
Parameters:
Name Type Description
bytes Uint8Array
ArrayType type desired output array type
Source:

decodeUint64LE(bytes)

Unpacks 64-bit unsigned integer from byte array.
Parameters:
Name Type Description
bytes Uint8Array
Source: