Closed kaxap closed 4 years ago
The compressed data may differ when using streamed compression vs block compression, since streamed compression may split the data into multiple frames. You need to make sure that both stream-compressed and block-compressed data uncompress into the same data.
I see, thanks for the explanation.
go version: 1.14.2
Test:
fails with
Seems like StreamCompress adds 0x01, 0x00, 0x00 bytes at the end.