Re: fgetc and fputc equivalents

9 Dec
2009
9 Dec
'09
5:33 p.m.
My interest isn't actually to push around characters. I do enough of that. What I really want to do is push bits and not bytes.

9 Dec
9 Dec
7:54 p.m.
New subject: fgetc and fputc equivalents
On Wed, Dec 9, 2009 at 11:33 AM, John D. Earle
My interest isn't actually to push around characters. I do enough of that. What I really want to do is push bits and not bytes.
I thought that fgetc and fputc worked on bytes, not bits? I've had great luck using the binary package to produce structured binary data. If it's overkill for what you're trying to do then I recommend the bytestring package. See: http://hackage.haskell.org/package/binary http://hackage.haskell.org/package/bytestring Antoine
5689
Age (days ago)
5689
Last active (days ago)
1 comments
2 participants
participants (2)
-
Antoine Latter
-
John D. Earle