Skip to content
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

Question about ZSTD protocole#4037

Open
shulib opened this issue Apr 30, 2024 · 1 comment
Open

Question about ZSTD protocole #4037

shulib opened this issue Apr 30, 2024 · 1 comment

Comments

@shulib
Copy link

shulib commented Apr 30, 2024

Hi,
My question about ZSTD protocol is:
Can it possible on literal part FSE table, which contains 2 probabilities and only one weight (even but without odd) extracted from table?
the file I sent (after mv it to ForCheck.zst ) decompressed on tool version zstd-1.5.5 but not in former version zstd-1.5.2
ForCheck.zst.txt
thanks,
Shuli,

@shulib
Copy link
Author

shulib commented May 8, 2024

Last block:
In addition to this - I took table of two values:
Symbol = 0x0 , Probability = 0x1b
Symbol = 0x1 , Probability = 0x5
acclog is 5
zst.bin.file.zst.case.txt
0xc0 0x0f - this is the table bytes
tree is :0x03 0xc0 0x0f 0x24 - so there is 1 weight parsed only (5 first bit of even part) -
so I should get only literals 0x00 and 0x01 - not 0x02.
why I get parsing value 2 in tool?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant