Class GzipTool
java.lang.Object
io.datarouter.bytes.compress.gzip.GzipTool
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]decode(byte[] compressedBytes) static byte[]decode(byte[] compressedBytes, ByteArrayOutputStream buffer) static byte[]encode(byte[] input) static byte[]encode(byte[] input, ByteArrayOutputStream buffer) static io.datarouter.scanner.Scanner<byte[]> encode(InputStream input) static InputStreamencodeToInputStream(InputStream input)
-
Field Details
-
CODEC
-
-
Constructor Details
-
GzipTool
public GzipTool()
-
-
Method Details
-
encode
public static byte[] encode(byte[] input) -
encode
-
encode
-
encodeToInputStream
-
decode
public static byte[] decode(byte[] compressedBytes) -
decode
-