Files
scriptc/packages/runtime/src
Chris Tate ed5ab6796b Run the zlib one-shot forms on the stream engine
deflateSync, inflateSync, gzipSync, gunzipSync, deflateRawSync,
inflateRawSync and unzipSync, and their callback forms, accept Node's
options and run Node's processChunkSync over the zlib stream engine.

- Options (windowBits, level, memLevel, strategy, dictionary, chunkSize,
  finishFlush, maxOutputLength, rejectGarbageAfterEnd) are validated at
  run time with Node's ladder, shared with the stream classes; info is
  refused at run time.
- Errors carry Node's errno and code; maxOutputLength reports
  ERR_BUFFER_TOO_LARGE and rejectGarbageAfterEnd
  ERR_TRAILING_JUNK_AFTER_STREAM_END. The default-options decoders also
  read every gzip member.
- Untyped JavaScript inputs may be strings, TypedArrays, DataViews or
  ArrayBuffers; other values throw Node's ERR_INVALID_ARG_TYPE after the
  options are checked.
- Results are Buffers, as in Node: they convert to their text.

Corpus programs 5378, 5379 and 5415 cover the sync, callback and untyped
input forms.
2026-10-16 09:18:32 -05:00
..
2026-10-14 08:46:13 -05:00
2026-10-14 21:17:46 -05:00
2026-10-16 08:31:20 -05:00
2026-10-16 04:30:20 -05:00
2026-10-15 04:02:33 -05:00
2026-10-16 07:54:59 -05:00
2026-10-16 01:39:10 -05:00
2026-10-15 21:07:04 -05:00
2026-10-07 19:07:02 -05:00
2026-10-13 19:48:11 -05:00
2026-10-14 17:27:02 -05:00
2026-10-15 23:58:50 -05:00
2026-10-15 23:58:50 -05:00
2026-10-13 19:48:11 -05:00
2026-10-16 01:32:17 -05:00
2026-10-16 01:32:17 -05:00
2026-10-15 13:42:34 -05:00
2026-10-14 17:27:02 -05:00
2026-10-14 17:27:02 -05:00