本文整理了Java中org.xerial.snappy.Snappy.uncompressShortArray()
方法的一些代码示例,展示了Snappy.uncompressShortArray()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Snappy.uncompressShortArray()
方法的具体详情如下:
包路径:org.xerial.snappy.Snappy
类名称:Snappy
方法名:uncompressShortArray
[英]Uncompress the input as a short array
[中]
代码示例来源:origin: redisson/redisson
/**
* 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);
}
代码示例来源:origin: org.apache.carbondata/carbondata-core
@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);
}
}
内容来源于网络,如有侵权,请联系作者删除!