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
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.tar.gz
(24.6 kB
view hashes)
Built Distribution
Close
Hashes for binstream-1.0.macosx-10.4-fat.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ec5b49356fa892daccc3c70fa7e2c61bdd549fc9eb8f00f9c9212c58504217f |
|
MD5 | e00724c8ca07aea0a4aefdc17974ae09 |
|
BLAKE2b-256 | e0a2ab41a2000490641fc90862fa9440c1e4b403a225905ba708a4b81d1cf8df |