xiaoyin0208 / lz4

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

can't compress embedded nulls #21

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 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 8 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 8 years ago
ok

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