public void writeLZ4NHStream(RootEntry root, Stream s) { using (var xFs = new Lz4CompressionStream(s, 1 << 18, Lz4Mode.HighCompression)) { root.Write(xFs); } }
public void writeLZ4HStream(RootEntry root, Stream s) { using (var xFs = new LZ4Stream(s, LZ4StreamMode.Compress, LZ4StreamFlags.HighCompression)) { root.Write(xFs); } }
public void writeGzipStream(RootEntry root, Stream s) { using (var xFs = new GZipStream(s, CompressionMode.Compress, true)) { root.Write(xFs); } }
public void writeLZ4Stream(RootEntry root, Stream s) { using (var xFs = new LZ4Stream(s, CompressionMode.Compress)) { root.Write(xFs); } }
public void writeStream(RootEntry root, Stream s) { using (s) { root.Write(s); } }