471,078 Members | 801 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,078 software developers and data experts.

bitstream

anyone has a good bit-stream reader and writer?
(before i go to write my own)

i.e.

f = open(..)
b = BitStream(f)
b.write("10010010")
b.read(5) # 10010

or something like that?
-tomer

May 19 '06 #1
1 2328
Maybe this is what you are looking for:

http://cheeseshop.python.org/pypi/BitBuffer/0.1

Bye,
bearophile

May 19 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Dietrich Epp | last post: by
14 posts views Thread by vib | last post: by
2 posts views Thread by hawat.thufir | last post: by
4 posts views Thread by hawat.thufir | last post: by
32 posts views Thread by bluejack | last post: by
1 post views Thread by PSN | last post: by
7 posts views Thread by DaveL | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.