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.

Metadata

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 Provenance Actions
cs.serialise-20190103.tar.gz 1.9 kB Without provenance Details for cs.serialise-20190103.tar.gz

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

Security for cs.serialise 20190103

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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