[][src]Constant compu_brotli_sys::BrotliEncoderOperation_BROTLI_OPERATION_FLUSH

pub const BrotliEncoderOperation_BROTLI_OPERATION_FLUSH: BrotliEncoderOperation

Produce output for all processed input.

Actual flush is performed when input stream is depleted and there is enough space in output stream. This means that client should repeat ::BROTLI_OPERATION_FLUSH operation until @p available_in becomes @c 0, and ::BrotliEncoderHasMoreOutput returns ::BROTLI_FALSE. If output is acquired via ::BrotliEncoderTakeOutput, then operation should be repeated after output buffer is drained.

@warning Until flush is complete, client @b SHOULD @b NOT swap, reduce or extend input stream.

When flush is complete, output data will be sufficient for decoder to reproduce all the given input.