Skip to main content

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.

Release files for cs.serialise 20190103

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cs.serialise 20190103
File Size Uploaded
cs.serialise-20190103.tar.gz 1.9 kB Details

Release files / cs.serialise-20190103.tar.gz

Download URL cs.serialise-20190103.tar.gz
Size 1.9 kB
Tags Source
SHA-256 checksum
How to use checksums
acfc73a117ef40831b1a80a1e956494b4ce7392ca5178241f55569bc0975479c
BLAKE2b-256 checksum
How to use checksums
b44873332feedcb3208093fd6a68b056671616834236de4856ee429b1615f9a2
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

20190103 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page