public static IPipeReader DeflateDecompress(this IPipeReader reader, PipeOptions options) { var inflater = new ReadableDeflateTransform(ZLibNative.Deflate_DefaultWindowBits); var pipe = new Pipe(options); var ignore = inflater.Execute(reader, pipe.Writer); return(pipe.Reader); }
public static PipeReader CreateGZipDecompressReader(PipeOptions options, PipeReader reader) { var inflater = new ReadableDeflateTransform(ZLibNative.GZip_DefaultWindowBits); var pipe = new Pipe(options); var ignore = inflater.Execute(reader, pipe.Writer); return(pipe.Reader); }
public static IPipeReader CreateGZipDecompressReader(this PipeFactory factory, IPipeReader reader) { var inflater = new ReadableDeflateTransform(ZLibNative.GZip_DefaultWindowBits); var pipe = factory.Create(); var ignore = inflater.Execute(reader, pipe.Writer); return(pipe.Reader); }
public static IPipelineReader CreateGZipDecompressReader(this PipelineFactory factory, IPipelineReader reader) { var inflater = new ReadableDeflateTransform(ZLibNative.GZip_DefaultWindowBits); return(factory.CreateReader(reader, inflater.Execute)); }
public static IPipelineReader DeflateDecompress(this IPipelineReader reader, PipelineFactory factory) { var inflater = new ReadableDeflateTransform(ZLibNative.Deflate_DefaultWindowBits); return(factory.CreateReader(reader, inflater.Execute)); }
public static IPipelineReader CreateGZipDecompressReader(this PipelineFactory factory, IPipelineReader reader) { var inflater = new ReadableDeflateTransform(ZLibNative.GZip_DefaultWindowBits); return factory.CreateReader(reader, inflater.Execute); }
public static IPipelineReader DeflateDecompress(this IPipelineReader reader, PipelineFactory factory) { var inflater = new ReadableDeflateTransform(ZLibNative.Deflate_DefaultWindowBits); return factory.CreateReader(reader, inflater.Execute); }