Type Alias zstd_sys::ZSTD_inBuffer

source ·
pub type ZSTD_inBuffer = ZSTD_inBuffer_s;
Expand description

Streaming

Aliased Type§

struct ZSTD_inBuffer {
    pub src: *const c_void,
    pub size: usize,
    pub pos: usize,
}

Fields§

§src: *const c_void

< start of input buffer

§size: usize

< size of input buffer

§pos: usize

< position where reading stopped. Will be updated. Necessarily 0 <= pos <= size

Trait Implementations§

source§

impl Clone for ZSTD_inBuffer_s

source§

fn clone(&self) -> ZSTD_inBuffer_s

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ZSTD_inBuffer_s

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for ZSTD_inBuffer_s