Пример #1
0
        public void Decompress(CompressorArg Compressor, CompressedBytesArg CompressedSize)
        {
            using var inputStream  = new MemoryStream(CompressedSize.CompressedBytes);
            using var outputStream = new MemoryStream();

            Compressor.Compressor.Decompress(inputStream, outputStream);
        }
Пример #2
0
        public Task Decompress(CompressorArg Compressor, CompressedBytesArg CompressedSize)
        {
            using var inputStream  = new MemoryStream(CompressedSize.CompressedBytes);
            using var outputStream = new MemoryStream();

            return(Compressor.Compressor.DecompressAsync(inputStream, outputStream));
        }
Пример #3
0
 public void Decompress(CompressorArg Compressor, CompressedBytesArg CompressedSize)
 {
     Compressor.Compressor.Decompress(CompressedSize.CompressedBytes);
 }