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
Release history Release notifications | RSS feed
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 details)
File details
Details for the file binary-rw-1.0.5.tar.gz
.
File metadata
- Download URL: binary-rw-1.0.5.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed344dfbe2d97be48a2caf165de8da0115d79d38457adf1fe8b4d7567f63e247 |
|
MD5 | e9175725ebb943361ac28e86e4da8339 |
|
BLAKE2b-256 | bf9bc3bc1ec53d729588185987d8d8ab1252c51a6308fd7318a395dc11487af3 |