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.

Source Distribution

cs.serialise-20190103.tar.gz (1.9 kB view details)

Uploaded Source

File details

Details for the file cs.serialise-20190103.tar.gz.

File metadata

  • Download URL: cs.serialise-20190103.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.0 CPython/3.6.6

File hashes

Hashes for cs.serialise-20190103.tar.gz
Algorithm Hash digest
SHA256 acfc73a117ef40831b1a80a1e956494b4ce7392ca5178241f55569bc0975479c
MD5 51b6507dfafea03fb40510e10ff18e57
BLAKE2b-256 b44873332feedcb3208093fd6a68b056671616834236de4856ee429b1615f9a2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page