zlib: split JS code as prep for non-zlib-backed streams
Split out from #24938
Split the Zlib
class into ZlibBase
and Zlib
classes,
to facilitate introduction of similar streams with minor
implementation differences.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines