3 references to Compress
System.IO.Compression.Zstandard (3)
System\IO\Compression\ZstandardEncoder.cs (1)
422
/// Setting the source length is optional. If set, the information is stored in the header of the compressed data. This method can be called only before the first <see cref="
Compress
"/> method call, or after <see cref="Reset"/>.
System\IO\Compression\ZstandardStream.Compress.cs (2)
130
lastResult = _encoder.
Compress
(buffer, output, out bytesConsumed, out bytesWritten, isFinalBlock);
191
lastResult = _encoder.
Compress
(buffer.Span, output.Span, out bytesConsumed, out bytesWritten, isFinalBlock);