Table of Contents

Class NullDecompressor

Namespace
DSharpPlus.Net.Gateway.Compression
Assembly
DSharpPlus.dll

Represents a decompressor that doesn't decompress at all.

public sealed class NullDecompressor : IPayloadDecompressor
Inheritance
object
NullDecompressor
Implements

Properties

IsTransportCompression

Indicates whether the present compression format is connection-wide.

Name

Gets the name of the decompressor.

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Initialize()

Initializes the decompressor for a new connection.

Reset()

Frees and destroys all internal state when a connection has terminated.

TryDecompress(ReadOnlySpan<byte>, ArrayPoolBufferWriter<byte>)

Attempts to decompress the provided payload.