mirror of
https://github.com/0x5eal/rbxts-pako.git
synced 2025-04-04 10:50:59 +01:00
7 lines
132 B
JavaScript
7 lines
132 B
JavaScript
'use strict';
|
|
|
|
const zlib = require('zlib');
|
|
|
|
exports.run = (data, level) => {
|
|
zlib.deflateSync(data.buffer, { level:level });
|
|
};
|