Binstream is used for serializing and deserializing basic types. It is compatible with the .NET System.IO.BinaryReader and BinaryWriter classes, and is useful as a bridge when exchanging data with the .NET framework.
Project description
import binstream
stream = binstream.BinaryWriter()
stream += 1234
stream += 0.0
stream += “Hello, Binstream!”
data = stream.serial()
stream = binstream.BinaryReader(data)
print(stream.read(int))
print(stream.read(float))
print(stream.read(str))
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
binstream-1.0.3.tar.gz
(2.2 kB
view details)
File details
Details for the file binstream-1.0.3.tar.gz
.
File metadata
- Download URL: binstream-1.0.3.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20af297db4270bc775c39f01385a02c45c41c83068b48429cb7fa67c330fa04d |
|
MD5 | 4743ae85d5b7d7e6a481ae8d62063b5f |
|
BLAKE2b-256 | 7e75953fd3f76e79a044b0928e4632c87bb4c9ce314bdb9df2ed5dfb368f531f |