You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
downkyi/Brotli.Core/Enum/BrotliEncoderOperation.cs

27 lines
1004 B

namespace Brotli
{
public enum BrotliEncoderOperation : int
{
Process = 0,
/// <summary>
/// Request output stream to flush. Performed when input stream is depleted
/// and there is enough space in output stream.
/// </summary>
Flush = 1,
/// <summary>
/// Request output stream to finish. Performed when input stream is depleted
/// and there is enough space in output stream.
/// </summary>
Finish = 2,
/// <summary>
/// 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.
/// </summary>
EmitMetadata = 3
};
}