- pserializer-deflate-compressparameter
- pserializer-deflate-decompressparameter
Hooks that the pserializer-deflate module installs at load time. The compress hook takes a blob and its byte count and returns two values, a bytevector and the number of bytes of the zlib stream in it. The decompress hook takes a blob and its byte count and returns the decompressed payload as a blob. These hooks are exported so that other compression backends can be substituted.