Skip to main content

BytesIOEx

PyPI PyPI - Python Version Code Style: Black security: bandit

BytesIOEx is a simple wrapper over Python's io.BytesIO which provides additional methods for reading and writing C data types like int8, uint8, bool and so on. The read_* methods are used for reading a particular type from the stream and the write_* methods are used for writing Python's basic data types int, bool and float to the stream. Both these types of methods advance the steam position by the size of the data type. The type conversion is handled by the struct module. Struct classes are used to maximize the performance. Native byteorder is used.

⏬ Installation

BytesIOEx requires Python 3.6+, it may run on older version as well but I have not tested it.

pip install --upgrade bytesioex

📜 Documentation

Docs are available on ReadTheDocs.

🚀 Roadmap

  • Ensure full coverage.
  • Add wchar (UTF-16 character) support.
  • Support for different byte orders.

❕ Motivation

C# BinaryReader and BinaryWriter.

📧 Contact

E-mail: demberto@protonmail.com

© License

BytesIOEx is distributed under the MIT License.

Metadata

Release files for bytesioex 0.1.2

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

Source distribution (sdist)

Source distribution for bytesioex 0.1.2
File Size Uploaded Provenance
bytesioex-0.1.2.tar.gz 9.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for bytesioex 0.1.2
File Interpreter ABI Platform
bytesioex-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 14.0 kB

Release files / bytesioex-0.1.2.tar.gz

Download URL bytesioex-0.1.2.tar.gz
Size 9.3 kB
Tags Source
SHA-256 checksum
How to use checksums
d8dc27ca745ce721a61fa44b83367ae07729b7e675e762e868b85b247e3cd513
BLAKE2b-256 checksum
How to use checksums
ca3a9eca782b963024b007f17d4a2db56d83630d0eca3cc53a2cd3fc21bc5296
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.13

Release files / bytesioex-0.1.2-py3-none-any.whl

Download URL bytesioex-0.1.2-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f285046895754d705e11bdb7c793839276348a93b5e9664085d81dc7aa502074
BLAKE2b-256 checksum
How to use checksums
1ac291046e7c3c444de2e9890d82ac82bd9a27555ec6e9c8178e0df6cf948b1f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.13

Security for bytesioex 0.1.2

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