
9 Dec
2009
9 Dec
'09
7:54 p.m.
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