public interface CompressionCodec
Modifier and Type | Method and Description |
---|---|
byte[] |
compressBytes(byte[] header,
byte[] data) |
byte[] |
compressString(byte[] header,
String data) |
byte[] |
decompressToBytes(DataInputStream dais) |
String |
decompressToString(DataInputStream dais) |
byte[] compressBytes(byte[] header, byte[] data) throws IOException
IOException
byte[] compressString(byte[] header, String data) throws IOException
IOException
String decompressToString(DataInputStream dais) throws IOException
IOException
byte[] decompressToBytes(DataInputStream dais) throws IOException
IOException
Copyright © 2018 Apache Software Foundation. All rights reserved.