13 Commits

Author SHA1 Message Date
7ba396933a compress: cstream: convert to a b_object type 2025-10-28 15:20:08 +00:00
f3dd0ddd48 compress: compressor: convert b_compressor to a b_object interface 2025-10-28 15:19:30 +00:00
f50b2216c0 compress: cstream: update b_stream usage 2025-10-24 12:42:13 +01:00
a1c1fee301 compress: cstream: add skip() and reset() functions 2025-08-09 19:45:34 +01:00
17b6a02a4f compress: cstream: record the total number of bytes that pass through the endpoint across all (un)compressed sections 2025-07-31 11:28:28 +01:00
ede5e72fc2 compress: cstream: add support for temporarily moving the cursor and performing limited i/o operations
the cursor can only be moved during uncompressed i/o, and any read/write operations are performed directly on the underlying endpoint with no buffering, and don't count towards the transacted byte statistics.

the cursor can only be moved once, after which it's position must be restored.
2025-07-31 11:18:10 +01:00
10dfa54d5c compress: zstd: fix f_ctx_size not being set correctly 2025-07-31 11:15:28 +01:00
5e6a4d0aa6 compress: compressor: check that function ctx size is >0 before returning a pointer to it 2025-07-31 11:14:59 +01:00
73675f1e4d compress: add byte-wise (de)compression stream data structure 2025-07-30 18:32:17 +01:00
8410841b87 compress: zstd: update ringbuffer api usage to use const buffer pointer 2025-07-30 18:31:54 +01:00
5a7f0b8535 compress: compressor: merge compress and decompress functions into a single step function 2025-07-30 18:31:28 +01:00
051d371eb5 compress: move compression mode enum to function.h 2025-07-30 18:30:31 +01:00
56399b07d8 meta: add compress module for (de)compressing data 2025-07-28 22:27:24 +01:00