Re: fgetc and fputc equivalents
10 Dec
2009
10 Dec
'09
1:33 a.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.
10 Dec
10 Dec
3:54 a.m.
New subject: fgetc and fputc equivalents
On Wed, Dec 9, 2009 at 11:33 AM, John D. Earle <JohnDEarle@cox.net> wrote:
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
6066
Age (days ago)
6066
Last active (days ago)
1 comments
2 participants
participants (2)
-
Antoine Latter -
John D. Earle