Closed coolreader18 closed 3 years ago
Oh, also, now you can really claim to be dependency-free :)
Thanks, looks good!
I'll have a look at the 32bit issues, maybe I can add 32bit tests to the CI. The spec doesn't cover the implementation, it just defines the format.
published with 0.7.0 including 32-bit support
I also noticed that it doesn't compile on 32-bit targets; I think some of the stuff like read_usize_ptr assume too much about the target platform. I think probably some of the uses of
usize
should be changed to u64, which is always 8 bytes, although I'm not sure what the lz4 spec says. I tested using: