Chris Tate
8c3b1f9e60
Add the zlib stream classes
...
Deflate, Inflate, Gzip, Gunzip, DeflateRaw, InflateRaw and Unzip, from
createGzip() and the other factories or new zlib.Gzip(options), are
runtime Transform streams over zlib.
- scr_zlib.c gains a step engine that follows Node's ZlibContext: lazy
init, Unzip's gzip-magic detection, the dictionary retry, Gunzip's
multi-member loop, and Node's error messages, codes and errno.
- scr_zlib_stream.c, linked when a program uses zlib and streams, runs
each write as engine steps on the worker pool with Node's output
chunking, the finish flush from 'prefinish', read-side backpressure,
flush(), params(), close(), reset() and bytesWritten, and validates
options in Node's order.
- The fallback declarations add the classes, factories and a
literal-typed ZlibConstants; zlib.constants and the module-level Z_*
copies bake as literals. Brotli streams and their factories are refused
by name.
Corpus programs 5370-5377 cover round trips, chunking and event order,
errors, options, flush and params, stream/promises, constants and
backpressure.
2026-10-14 21:09:51 -05:00
..
2026-10-12 12:25:30 -05:00
2026-10-14 09:58:18 -05:00
2026-10-12 17:26:24 -05:00
2026-10-11 07:08:22 -07:00
2026-10-14 18:05:50 -05:00
2026-10-14 12:25:43 -05:00
2026-10-14 08:46:13 -05:00
2026-10-14 11:43:44 -05:00
2026-09-26 19:09:54 -05:00
2026-10-05 17:51:24 -05:00
2026-09-18 00:21:12 -05:00
2026-10-13 12:29:07 -05:00
2026-10-14 17:27:02 -05:00
2026-10-14 11:43:44 -05:00
2026-10-06 13:07:11 -05:00
2026-10-14 11:43:44 -05:00
2026-10-14 04:53:07 -05:00
2026-10-09 10:30:31 -05:00
2026-10-13 18:55:55 -05:00
2026-10-14 04:53:07 -05:00
2026-10-11 06:39:43 -07:00
2026-10-07 19:07:02 -05:00
2026-10-07 19:07:02 -05:00
2026-10-11 19:46:48 -07:00
2026-10-03 01:47:42 -05:00
2026-10-14 19:48:01 -05:00
2026-10-14 11:43:44 -05:00
2026-10-14 17:27:02 -05:00
2026-08-23 20:16:13 -05:00
2026-10-14 17:18:04 -05:00
2026-10-14 04:53:07 -05:00
2026-10-14 17:18:04 -05:00
2026-10-14 11:43:44 -05:00
2026-10-14 11:43:44 -05:00
2026-10-14 04:53:07 -05:00
2026-10-14 18:12:09 -05:00
2026-08-16 22:59:02 -05:00
2026-10-07 19:07:02 -05:00
2026-10-14 11:43:44 -05:00
2026-10-14 03:54:52 -05:00
2026-09-28 19:01:50 -05:00
2026-10-13 19:48:11 -05:00
2026-10-14 11:43:44 -05:00
2026-10-14 18:12:09 -05:00
2026-10-14 08:10:02 -05:00
2026-10-14 17:27:02 -05:00
2026-10-14 17:18:04 -05:00
2026-10-14 21:09:51 -05:00
2026-10-14 04:53:07 -05:00
2026-10-08 15:01:26 -05:00
2026-10-08 15:40:53 -05:00
2026-10-14 17:27:02 -05:00
2026-10-14 11:43:44 -05:00
2026-08-23 20:16:13 -05:00
2026-10-14 11:43:44 -05:00
2026-08-23 20:16:13 -05:00
2026-10-07 19:07:02 -05:00
2026-10-07 19:07:02 -05:00
2026-10-07 19:07:02 -05:00
2026-10-07 19:07:02 -05:00
2026-10-14 15:17:21 -05:00
2026-10-14 15:17:21 -05:00
2026-10-09 10:10:20 -07:00
2026-10-11 06:39:41 -07:00
2026-10-07 19:07:02 -05:00
2026-10-07 19:07:02 -05:00
2026-10-07 19:07:02 -05:00
2026-08-23 20:16:13 -05:00
2026-10-14 17:27:02 -05:00
2026-10-13 19:48:11 -05:00
2026-10-13 19:48:11 -05:00
2026-10-06 13:07:11 -05:00
2026-10-06 13:07:11 -05:00
2026-10-06 13:07:11 -05:00
2026-10-14 04:53:07 -05:00
2026-10-14 00:25:07 -05:00
2026-10-14 11:43:44 -05:00
2026-10-14 13:16:30 -05:00
2026-08-23 20:16:13 -05:00
2026-10-11 19:46:48 -07:00
2026-10-14 08:10:02 -05:00
2026-10-14 14:10:43 -05:00
2026-10-13 07:48:24 -05:00
2026-10-14 17:27:02 -05:00
2026-10-13 23:52:01 -05:00
2026-10-13 21:53:48 -05:00
2026-10-13 18:37:26 -05:00
2026-10-14 21:09:51 -05:00
2026-10-07 19:07:02 -05:00
2026-10-07 19:07:02 -05:00
2026-10-07 19:07:02 -05:00
2026-10-14 21:09:51 -05:00
2026-10-14 19:48:01 -05:00
2026-10-03 19:21:34 -05:00
2026-10-14 17:27:02 -05:00
2026-10-14 11:43:44 -05:00
2026-10-14 17:27:02 -05:00
2026-10-03 05:38:29 -05:00
2026-10-07 19:07:02 -05:00
2026-10-14 17:27:02 -05:00
2026-10-14 04:53:07 -05:00
2026-10-14 17:27:02 -05:00
2026-10-14 11:30:47 -05:00
2026-10-13 19:48:11 -05:00
2026-10-14 17:27:02 -05:00
2026-10-14 08:08:06 -05:00
2026-10-12 12:25:30 -05:00
2026-10-14 17:27:02 -05:00
2026-10-12 12:25:30 -05:00
2026-10-14 11:43:44 -05:00
2026-08-10 12:21:11 -05:00
2026-09-29 20:54:09 -05:00
2026-10-14 04:53:07 -05:00
2026-10-11 10:16:45 -07:00
2026-10-07 19:07:02 -05:00
2026-10-11 06:42:16 -07:00
2026-10-07 19:07:02 -05:00
2026-10-14 21:09:51 -05:00
2026-10-14 21:09:51 -05:00