/** * Uncompress the input as a short array * * @param input * @return the uncompressed data * @throws IOException */ public static short[] uncompressShortArray(byte[] input) throws IOException { return uncompressShortArray(input, 0, input.length); }
@Override public short[] unCompressShort(byte[] compInput, int offset, int length) { try { return Snappy.uncompressShortArray(compInput, offset, length); } catch (IOException e) { LOGGER.error(e.getMessage(), e); throw new RuntimeException(e); } }