zstd_sys

Type Alias 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