
30 Sep
2009
30 Sep
'09
6:02 a.m.
Paul.Brauner@loria.fr wrote:
(If it helps, i'm writting a toy compression algorithm, which outputs binary as lists of booleans, and I'd like to output that in a file).
By a strange coincidence, I did the self same thing a while back. There is Data.Binary which supports efficient reading and writing of binary data. However, sadly it does not support bit alignment, only whole byte alignment. I did put together a library to fix this, but I don't have the source code any more. Maybe I should finish it and put it on Hackage...