Skip to main content

No project description provided

Project description

pyleb128

Powerful little-endian base-128 encoding/decoding library for Python 3.

Supports the following types:

  • Unsigned LEB128
  • Signed LEB128
  • Unsigned LEB128 +1 (ULEB128P1)

Example Usage

from pyleb128 import (
    uleb128,
    uleb128p1, 
    sleb128
)

# decode
print(uleb128.decode(b'\x80\x80\x80\x00'))

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

pyleb128-0.1.0.tar.gz (14.7 kB view details)

Uploaded Source

Built Distribution

pyleb128-0.1.0-py3-none-any.whl (15.3 kB view details)

Uploaded Python 3

File details

Details for the file pyleb128-0.1.0.tar.gz.

File metadata

  • Download URL: pyleb128-0.1.0.tar.gz
  • Upload date:
  • Size: 14.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.4 Windows/10

File hashes

Hashes for pyleb128-0.1.0.tar.gz
Algorithm Hash digest
SHA256 da108659b8ae7847da3d99cb2fca8da1f8bee8f19e233b097c27e689bcac7a67
MD5 ef95125efc309aa093302428149f46ce
BLAKE2b-256 d8f8093ba2c4afaf09aa3181ad0b05799ea07cedac358945411f1f6677d9f1e4

See more details on using hashes here.

File details

Details for the file pyleb128-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pyleb128-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 15.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.4 Windows/10

File hashes

Hashes for pyleb128-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d46986b86bd9c323f78ece93108a1e0ad129a554b9f1046eafd18932605d68d8
MD5 b9750694a486173a0fb6f63f025a63a1
BLAKE2b-256 37df359705380436fad896f64fa0a9510a5acd25393af6c43ed313f221a2d01a

See more details on using hashes here.

Supported by

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