You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for reporting!
Indeed it looks like here this behavior is not desired as we can easily avoid return EmptySlice. There is also a difference of behavior between the streaming and non-streaming version.
I fixed it in #42 if you want to test it.
For zstd 1.3.4, the compressed message of the empty slice is 0x28b52ffd0050010000
What did you do?
Tried to compress empty slice.
What did you expect to see?
Empty slice is compressed consistently with
zstd
:What did you see instead?
Error
ErrEmptySlice
(Bytes slice is empty
) is generated: 6114686.cc @Viq111
The text was updated successfully, but these errors were encountered: