ZXC 0.15.0
High-performance asymmetric lossless compression library
Loading...
Searching...
No Matches
zxc_inbuf_t Struct Reference

Input buffer descriptor for push streaming. More...

#include <zxc_pstream.h>

Data Fields

const void * src
 Caller-owned input bytes.
 
size_t size
 Total bytes available in src.
 
size_t pos
 Bytes already consumed by the library (in/out).
 

Detailed Description

Input buffer descriptor for push streaming.

The caller fills src and sets size; the library advances pos as it consumes input. Do not touch pos between calls.

Definition at line 81 of file zxc_pstream.h.

Field Documentation

◆ pos

size_t zxc_inbuf_t::pos

Bytes already consumed by the library (in/out).

Definition at line 84 of file zxc_pstream.h.

Referenced by ds_pull(), zxc_cstream_compress(), and zxc_dstream_decompress().

◆ size

size_t zxc_inbuf_t::size

Total bytes available in src.

Definition at line 83 of file zxc_pstream.h.

Referenced by ds_pull(), zxc_cstream_compress(), and zxc_dstream_decompress().

◆ src

const void* zxc_inbuf_t::src

Caller-owned input bytes.

Definition at line 82 of file zxc_pstream.h.

Referenced by ds_pull(), zxc_cstream_compress(), and zxc_dstream_decompress().


The documentation for this struct was generated from the following file: