rbxts-pako/benchmark/implementations/deflate-imaya/index.js
2014-02-27 12:48:33 +04:00

8 lines
228 B
JavaScript

'use strict'
var deflateSync = require('./node-zlib').deflateSync;
exports.run = function(data, level) {
// Compression levels not supported. Use unknown defaults always
return deflateSync(data.typed, { level: level });
}