rbxts-pako/lib/deflate.js
2014-02-03 17:30:44 +04:00

59 lines
No EOL
782 B
JavaScript

'use strict';
var zlib = require('zlib/deflate.js');
/**
* Deflate
*
* @param {Object} [options] zlib options
* @constructor
*/
var Deflate = function(options) {
};
/**
* Compresses the input data and fills output buffer with compressed data.
* @return {Array|Uint8Array} compressed data
*/
Deflate.prototype.deflate = function(input) {
};
Deflate.prototype.flush = function() {
};
Deflate.prototype.finish = function() {
};
Deflate.prototype.onData = function(output) {
};
Deflate.prototype.onEnd = function(error) {
};
exports.Deflate = Deflate;
/**
* Compresses the input data
* @param input
* @param [options]
* @returns {Array|Uint8Array}
*/
exports.deflate = function(input, options) {
};
exports.deflateRaw = function(input, options) {
};