-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
did not start with 'ZV' signature bytes #44
Comments
As far as I know, first couple of bytes should be compatible with the command-line tool. Which platform is this on? |
Also: it would be interesting to see what first couple of bytes are. I think other codecs leave out |
I am not actually using command line tool; I am compressing from withing my application (linux) using the original reference lzf implementation (http://oldhome.schmorp.de/marc/liblzf.html). Your documentation seems to suggest interoperability with that. |
@usergoodvery to the best of my knowledge, yes, original codec used this encoding. Command-line utilities use liblzf as well I think. As far as I know, Java algorithm used is indeed direct translation of original C version (at least starting point was); no changes were made to logic. If you want further help, you would need to see what encoded results with embedded algorithm are. |
Thanks I'll peek at the first few bytes to get a feel of what's being stashed in there... |
Hi,
I am running this on android, parsing incoming packets compressed with the original c implementation, but it seems I am hitting a potential interoperability problem, as I am seeing:
Corrupt input data, block #0 (at offset 0): did not start with 'ZV' signature bytes
On the originating side I do test compression/decompressing on the same target buffer and that succeeds, as I can read the data back.
Are there any known issues working with that c implementation?
regards,
The text was updated successfully, but these errors were encountered: