Skip to main content

Some serialising functions, now mostly a thin wrapper for the cs.binary functions.

Project description

Some serialising functions, now mostly a thin wrapper for the cs.binary functions.

Function get_bs(data, offset=0)

Read an extensible byte serialised unsigned int from data at offset. Return value and new offset.

Continuation octets have their high bit set. The value is big-endian.

If you just have a bytes instance, this is the go. If you're reading from a stream you're better off with cs.binary.BSUint.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for cs.serialise, version 20190103
Filename, size File type Python version Upload date Hashes
Filename, size cs.serialise-20190103.tar.gz (1.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page