Table of Contents

Class MemoryStreamZLibBaseOptions

Namespace
KZDev.PerfUtils
Assembly
KZDev.PerfUtils.dll

Options for how to handle compression operations with a MemoryStreamSlim that utilizes ZLib-Based compression.

public abstract record MemoryStreamZLibBaseOptions : IEquatable<MemoryStreamZLibBaseOptions>
Inheritance
MemoryStreamZLibBaseOptions
Implements
Derived

Constructors

MemoryStreamZLibBaseOptions()
MemoryStreamZLibBaseOptions(MemoryStreamZLibBaseOptions)

Properties

CompressionLevel

The compression level to use for the stream. The default value is Optimal.

CompressionStrategy

The compression strategy to use for the compression operation. The default value is Default [Available in .NET 9.0 and later only].

EqualityContract
NewStreamOptions

The options to use when creating a new MemoryStreamSlim instance for compression operations.

Methods

Equals(MemoryStreamZLibBaseOptions?)
Equals(object?)
GetHashCode()
PrintMembers(StringBuilder)
ToString()

Operators

operator ==(MemoryStreamZLibBaseOptions?, MemoryStreamZLibBaseOptions?)
operator !=(MemoryStreamZLibBaseOptions?, MemoryStreamZLibBaseOptions?)