AcManager.Tools.ContentInstallation.SharpCompressContentInstallator.ArchiveFileInfo.ReadAsync C# (CSharp) Method

ReadAsync() public method

public ReadAsync ( ) : Task
return Task
            public async Task<byte[]> ReadAsync() {
                using (var memory = new MemoryStream())
                using (var stream = _archiveEntry.OpenEntryStream()) {
                    await stream.CopyToAsync(memory);
                    return memory.ToArray();
                }
            }
SharpCompressContentInstallator.ArchiveFileInfo