[][src]Function compu_brotli_sys::BrotliEncoderMaxCompressedSize

pub unsafe extern "C" fn BrotliEncoderMaxCompressedSize(
    input_size: usize
) -> usize

Calculates the output size bound for the given @p input_size.

@warning Result is only valid if quality is at least @c 2 and, in case ::BrotliEncoderCompressStream was used, no flushes (::BROTLI_OPERATION_FLUSH) were performed.

@param input_size size of projected input @returns @c 0 if result does not fit @c size_t