netty codec -> SnappyFramedDecoder 和 Encoder
https://github.com/zhaojunlike/netty-snappy-framed
yarn add netty-snappy
const CryptoJs = require('crypto-js');
const {snappy}=require('netty-snappy')
const str = "{adasdas\"\"}";
const compressed = CryptoJs.enc.Base64.stringify(snappy.compress(str));
console.debug('compress:' + compressed);
const uncompressed = snappy.decompress(compressed);
console.debug('decompress:' + uncompressed);
assert(str === uncompressed)