pub unsafe extern "C" fn bz3_encode_block(
    state: *mut bz3_state,
    buffer: *mut u8,
    size: i32
) -> i32
Expand description

@brief Encode a single block. Returns the amount of bytes written to buffer'. buffer’ must be able to hold at least `bz3_bound(size)’ bytes. The size must not exceed the block size associated with the state.