Struct CompressionSettings
The compression relevant settings (such as buffer size, compression level, etc...).
Namespace: GlitchedPolygons.Services.CompressionUtility
Assembly: GlitchedPolygons.Services.CompressionUtility.dll
Syntax
public struct CompressionSettings
Fields
| Improve this Doc View SourcebufferSize
The size of the underlying stream buffer. A reasonable value could be 65536
Declaration
public int bufferSize
Field Value
Type | Description |
---|---|
System.Int32 |
compressionLevel
Choose the desired compression level.
The default value favors speed over maximum efficiency.
Declaration
public CompressionLevel compressionLevel
Field Value
Type | Description |
---|---|
CompressionLevel |
Properties
| Improve this Doc View SourceDefault
General-purpose default settings for compressing and decompressing all kinds of data. When unsure, use this!
Declaration
public static CompressionSettings Default { get; }
Property Value
Type | Description |
---|---|
CompressionSettings |