/** Encodes a strip of data. */ public byte[] compress(byte[] input, CodecOptions options) throws FormatException, IOException { if (codec == null) { throw new FormatException( "Sorry, " + getCodecName() + " compression mode is not supported"); } return codec.compress(input, options); }
/** Encodes a strip of data. */ public byte[] compress(byte[] input, CodecOptions options) throws FormatException, IOException { if (codec == null) { throw new FormatException( "Sorry, " + getCodecName() + " compression mode is not supported"); } return codec.compress(input, options); }