xiaolu / lz4

Automatically exported from code.google.com/p/lz4
1 stars 1 forks source link

can't compress embedded nulls #21

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. char * c = "abcd";
2. c[2] = '\0';
3. compress c & fail.

I'd like to be able to compress arbitrary data.

https://github.com/mwotton/lz4hs has more detailed test cases.

Original issue reported on code.google.com by mwot...@gmail.com on 6 Jun 2012 at 11:13

GoogleCodeExporter commented 9 years ago
apologies, tested again and it appears to be a problem on the haskell side. 
please delete this.

Original comment by mwot...@gmail.com on 6 Jun 2012 at 11:27

GoogleCodeExporter commented 9 years ago
ok

Original comment by yann.col...@gmail.com on 6 Jun 2012 at 12:05