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.1.tar.gz
(24.6 kB
view hashes)
Built Distribution
Close
Hashes for binstream-1.0.1.macosx-10.4-fat.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 884cefc692f519b1f815dfa5b7b62f8e3a736ab882a5ff54582dbb3c0927fff9 |
|
MD5 | b5244f23973bbc3c913b857dea0d8203 |
|
BLAKE2b-256 | afd31f118b8802002c2748c6eeeed972d2f53d835444840475377e3248b6fa70 |