Function libbzip3_sys::bz3_new

source ·
pub unsafe extern "C" fn bz3_new(block_size: i32) -> *mut bz3_state
Expand description

@brief Construct a new block encoder state, which will encode blocks as big as the given block size. The decoder will be able to decode blocks at most as big as the given block size. Returns NULL in case allocation fails or the block size is not between 65K and 511M