mirror of
https://github.com/wanghongenpin/proxypin.git
synced 2026-05-20 16:15:47 +08:00
13 lines
257 B
Dart
13 lines
257 B
Dart
import 'dart:io';
|
|
|
|
///GZIP 解压缩
|
|
List<int> gzipDecode(List<int> byteBuffer) {
|
|
GZipCodec gzipCodec = GZipCodec();
|
|
return gzipCodec.decode(byteBuffer);
|
|
}
|
|
|
|
///GZIP 解压缩
|
|
List<int> gzipEncode(List<int> input) {
|
|
return GZipCodec().encode(input);
|
|
}
|