binstream 1.0.3
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.
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))
| File | Type | Py Version | Uploaded on | Size | # downloads |
|---|---|---|---|---|---|
| binstream-1.0.3.tar.gz (md5) | Source | 2011-04-27 | 2KB | 348 | |
- Author: Simon Wittber
- Home Page: http://pypi.python.org/pypi/binstream/
- License: MIT
- Package Index Owner: simonwittber
- DOAP record: binstream-1.0.3.xml
