compress: cstream: add skip() and reset() functions

This commit is contained in:
2025-08-09 19:45:34 +01:00
parent 13cb866892
commit a1c1fee301
3 changed files with 160 additions and 7 deletions

View File

@@ -20,7 +20,7 @@ struct b_cstream {
*
* the input buffer holds data that will be provided to the
* (de)compression function. in compression mode, this data is provided
* by the code using the cstream (via b_cstream_write) in decompression
* by the code using the cstream (via b_cstream_write). in decompression
* mode, this data is read from s_endpoint.
*
* the output buffer holds data produced by the (de)compression