Skip to main content

Simple library for reading binary files.

Project description

binary-rw

Simple library for reading binary files. I wrote this library to help myself with working with binary files written with c#.

Examples

Write text to file.

>>> import binary_rw
>>> file = binary_rw.BinaryWriter("test")
>>> file.write_string("Example text")
>>> file.close()

Read byte from file.

>>> import binary_rw
>>> file = binary_rw.BinaryReader("test")
>>> file.read_byte()
>>> file.close()

Use BinaryReader with with

import binary_rw
with BinaryReader("test") as file:
    #code

Installation

pip install binary-rw

License

MIT © Filip K.

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

binary-rw-1.0.5.tar.gz (3.3 kB view hashes)

Uploaded Source

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