本文整理了Java中org.xerial.snappy.Snappy.uncompressLongArray()
方法的一些代码示例,展示了Snappy.uncompressLongArray()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Snappy.uncompressLongArray()
方法的具体详情如下:
包路径:org.xerial.snappy.Snappy
类名称:Snappy
方法名:uncompressLongArray
[英]Uncompress the input data as a long array
[中]将输入数据解压为长数组
代码示例来源:origin: redisson/redisson
/**
* Uncompress the input data as a long array
*
* @param input
* @return the uncompressed data
* @throws IOException
*/
public static long[] uncompressLongArray(byte[] input)
throws IOException
{
return uncompressLongArray(input, 0, input.length);
}
代码示例来源:origin: com.qwazr/qwazr-database
@Override
final public long[] toValue(byte[] compressedByteArray) throws IOException {
if (compressedByteArray == null)
return null;
return Snappy.uncompressLongArray(compressedByteArray);
}
代码示例来源:origin: org.apache.carbondata/carbondata-core
@Override public long[] unCompressLong(byte[] compInput, int offset, int length) {
try {
return Snappy.uncompressLongArray(compInput, offset, length);
} catch (IOException e) {
LOGGER.error(e.getMessage(), e);
throw new RuntimeException(e);
}
}
内容来源于网络,如有侵权,请联系作者删除!