WriterEndCompress Method

Compresses the data already written to the writer. If StartCompress has not been called, the data will be compressed from the start of the writer.

Definition

Namespace: Alteruna.Multiplayer.Core.PacketProcessing
Assembly: Alteruna.Multiplayer (in Alteruna.Multiplayer.dll) Version: 2.1.3+c5328b35489e83c42e288435f5acf6115fd519e0
C#
public int EndCompress(
	CompressionMethod method
)

Parameters

method  CompressionMethod
Compression method used.

Return Value

Int32
Number of bytes saved by compression.

See Also