Skip to main content

Byte Decoder

A simple Python Library for decoding bytes into various data types.

Installation

pip install byte-decoder

Usage

from byte_decoder import ByteDecoder

decoder = ByteDecoder()

# Decode to integer
int_value = decoder.decode_to_int(b'\x00\0f')
print(int_value) # output: 15

# Decode to string
string_value = decoder.decode_to_string(b'Hello')
print(string_value)  # Output: 'Hello'

# Decode to float
float_value = decoder.decode_to_float(b'@I\x0f\xdb')
print(float_value)  # Output: 3.14159

# Decode to list
list_value = decoder.decode_to_list(b'\x01\x02\x03\x04', 2)
print(list_value)  # Output: [b'\x01\x02', b'\x03\x04']

License

This Project is licensed under the MIT License - see the LICENSE file for details.

Metadata

Release files for byte-decoder 0.1.0

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

Source distribution (sdist)

Source distribution for byte-decoder 0.1.0
File Size Uploaded Provenance Actions
byte_decoder-0.1.0.tar.gz 3.4 kB Without provenance Details for byte_decoder-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for byte-decoder 0.1.0
File Interpreter ABI Platform Actions
byte_decoder-0.1.0-py3-none-any.whl Python 3 none any Details for byte_decoder-0.1.0-py3-none-any.whl

Total release size: 7.0 kB

Release files / byte_decoder-0.1.0.tar.gz

Download URL byte_decoder-0.1.0.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
0358630e792b4c94a30f19ca03c97f24124f03eeaf3c9c273f8bdfb34eb822b2
BLAKE2b-256 checksum
How to use checksums
587b066c915cc37b62c5dc35786029c40330b3b80a9db4662de9b12726ad3820
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.4

Release files / byte_decoder-0.1.0-py3-none-any.whl

Download URL byte_decoder-0.1.0-py3-none-any.whl
Size 3.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7ccedfd36d57261bd9dc71cc4a93b788b6ffa750d1552df8eb63a81e9085ed37
BLAKE2b-256 checksum
How to use checksums
2e3a1551bf90471c293fe5177ad31b78a30362aa5922cdef4817958d999b3a43
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.4

Security for byte-decoder 0.1.0

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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