[][src]Function miniz_oxide::deflate::core::compress

pub fn compress(
    d: &mut CompressorOxide,
    in_buf: &[u8],
    out_buf: &mut [u8],
    flush: TDEFLFlush
) -> (TDEFLStatus, usize, usize)

Main compression function. Puts output into buffer.

Returns

Returns a tuple containing the current status of the compressor, the current position in the input buffer and the current position in the output buffer.