Skip to main content

LZ4_initStream

Function LZ4_initStream 

Source
pub unsafe extern "C" fn LZ4_initStream(
    buffer: *mut c_void,
    size: usize,
) -> *mut LZ4_stream_t
Expand description

LZ4_initStream(): initializes the size byte buffer buffer as an LZ4_stream_t. Returns buffer on success, or null if size is too small or buffer is not aligned correctly.