namespace Brotli { public enum BrotliEncoderOperation : int { Process = 0, /// /// Request output stream to flush. Performed when input stream is depleted /// and there is enough space in output stream. /// Flush = 1, /// /// Request output stream to finish. Performed when input stream is depleted /// and there is enough space in output stream. /// Finish = 2, /// /// Emits metadata block to stream. Stream is soft-flushed before metadata /// block is emitted. CAUTION: when operation is started, length of the input /// buffer is interpreted as length of a metadata block; changing operation, /// expanding or truncating input before metadata block is completely emitted /// will cause an error; metadata block must not be greater than 16MiB. /// EmitMetadata = 3 }; }