public void Decompress(CompressorArg Compressor, CompressedBytesArg CompressedSize) { using var inputStream = new MemoryStream(CompressedSize.CompressedBytes); using var outputStream = new MemoryStream(); Compressor.Compressor.Decompress(inputStream, outputStream); }
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)); }
public void Decompress(CompressorArg Compressor, CompressedBytesArg CompressedSize) { Compressor.Compressor.Decompress(CompressedSize.CompressedBytes); }