diff options
| author | Igor Anić <igor.anic@gmail.com> | 2024-02-17 18:49:49 +0100 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2024-02-17 15:31:13 -0800 |
| commit | 3e8cb153ea44ad1f403fbf6d23a67c839df57925 (patch) | |
| tree | 0a196079d351a3a64b3d19818064801a8323a732 /lib/std/json/stringify.zig | |
| parent | 79e99c401ca32031d29aff77e43758ca0b67d5d9 (diff) | |
| download | zig-3e8cb153ea44ad1f403fbf6d23a67c839df57925.tar.gz zig-3e8cb153ea44ad1f403fbf6d23a67c839df57925.zip | |
fix flate regression
Until now literal and distance code lengths where treated as two
different arrays. But according to rfc they can overlap:
The code length repeat codes can cross from HLIT + 257 to the
HDIST + 1 code lengths. In other words, all code lengths form
a single sequence of HLIT + HDIST + 258 values.
Now code lengths are decoded in single array which is then split
to literal and distance part.
Diffstat (limited to 'lib/std/json/stringify.zig')
0 files changed, 0 insertions, 0 deletions
