File indexing completed on 2024-05-19 04:42:04

0001 /*
0002     SPDX-FileCopyrightText: 2014 Denis Steckelmacher <steckdenis@yahoo.fr>
0003 
0004     SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0005 */
0006 
0007 var stream = require("stream");
0008 
0009 var buffer = require("buffer");
0010 
0011 exports.createGzip = function (options) { return new Gzip(); };
0012 exports.createGzip(new Object());
0013 
0014 exports.createGunzip = function (options) { return new Gunzip(); };
0015 exports.createGunzip(new Object());
0016 
0017 exports.createDeflate = function (options) { return new Deflate(); };
0018 exports.createDeflate(new Object());
0019 
0020 exports.createInflate = function (options) { return new Inflate(); };
0021 exports.createInflate(new Object());
0022 
0023 exports.createDeflateRaw = function (options) { return new DeflateRaw(); };
0024 exports.createDeflateRaw(new Object());
0025 
0026 exports.createInflateRaw = function (options) { return new InflateRaw(); };
0027 exports.createInflateRaw(new Object());
0028 
0029 exports.createUnzip = function (options) { return new Unzip(); };
0030 exports.createUnzip(new Object());
0031 
0032 /*
0033  * exports.Zlib
0034  */
0035 function Zlib() { return ; }
0036 exports.Zlib = Zlib;
0037 exports.Zlib.prototype = stream.Duplex;
0038 
0039 exports.Zlib.prototype.flush = function (callback) { return ; };
0040 exports.Zlib.prototype.flush(function(){});
0041 
0042 exports.Zlib.prototype.reset = function () { return ; };
0043 exports.Zlib.prototype.reset();
0044 
0045 
0046 /*
0047  * exports.Gzip
0048  */
0049 function Gzip() { return ; }
0050 exports.Gzip = Gzip;
0051 exports.Gzip.prototype = exports.Zlib;
0052 
0053 
0054 /*
0055  * exports.Gunzip
0056  */
0057 function Gunzip() { return ; }
0058 exports.Gunzip = Gunzip;
0059 exports.Gunzip.prototype = exports.Zlib;
0060 
0061 
0062 /*
0063  * exports.Deflate
0064  */
0065 function Deflate() { return ; }
0066 exports.Deflate = Deflate;
0067 exports.Deflate.prototype = exports.Zlib;
0068 
0069 
0070 /*
0071  * exports.Inflate
0072  */
0073 function Inflate() { return ; }
0074 exports.Inflate = Inflate;
0075 exports.Inflate.prototype = exports.Zlib;
0076 
0077 
0078 /*
0079  * exports.DeflateRaw
0080  */
0081 function DeflateRaw() { return ; }
0082 exports.DeflateRaw = DeflateRaw;
0083 exports.DeflateRaw.prototype = exports.Zlib;
0084 
0085 
0086 /*
0087  * exports.InflateRaw
0088  */
0089 function InflateRaw() { return ; }
0090 exports.InflateRaw = InflateRaw;
0091 exports.InflateRaw.prototype = exports.Zlib;
0092 
0093 
0094 /*
0095  * exports.Unzip
0096  */
0097 function Unzip() { return ; }
0098 exports.Unzip = Unzip;
0099 exports.Unzip.prototype = exports.Zlib;
0100 
0101 
0102 exports.deflate = function (buf, callback) { return ; };
0103 exports.deflate(new buffer.Buffer(), function(){});
0104 
0105 exports.deflateRaw = function (buf, callback) { return ; };
0106 exports.deflateRaw(new buffer.Buffer(), function(){});
0107 
0108 exports.gzip = function (buf, callback) { return ; };
0109 exports.gzip(new buffer.Buffer(), function(){});
0110 
0111 exports.gunzip = function (buf, callback) { return ; };
0112 exports.gunzip(new buffer.Buffer(), function(){});
0113 
0114 exports.inflate = function (buf, callback) { return ; };
0115 exports.inflate(new buffer.Buffer(), function(){});
0116 
0117 exports.inflateRaw = function (buf, callback) { return ; };
0118 exports.inflateRaw(new buffer.Buffer(), function(){});
0119 
0120 exports.unzip = function (buf, callback) { return ; };
0121 exports.unzip(new buffer.Buffer(), function(){});
0122