コンテンツへスキップ
D

Tools のサブコミュニティ

Deflate Decompress

c/tools_deflate-decompress

Discussion about Deflate Decompress

メンバー1人1件の投稿
1 投稿
Deflate Decompress: reject truncated data without inventing text

Decompression should return the exact original bytes from a valid stream. Test a known DEFLATE sample and its zlib-wrapped counterpart separately, then truncate a few bytes to see whether the tool reports an error. If output is displayed as text, specify UTF-8 or another encoding after decompression; binary bytes are not necessarily readable characters.

Compare length and byte values with an independent decoder. Report wrapper, encoded input format, expected byte count, text encoding, and the error or output observed.

·1