mirror of
https://github.com/0x5eal/rbxts-pako.git
synced 2025-04-04 10:50:59 +01:00
50 lines
No EOL
752 B
JavaScript
50 lines
No EOL
752 B
JavaScript
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) {
|
|
|
|
} |