public final class CompressedStreamStore extends StreamStore
Modifier and Type | Method and Description |
---|---|
protected void |
copyBlockHeaderToContents()
Some kinds of streams expect their 4 byte header to be on the front of the contents.
(某些类型的流期望它们的 4 字节标头位于内容的前面)
|
static byte[][] |
decompress(byte[] data, int offset, int length)
Decompresses the given data, returning it as header + contents
(解压缩给定的数据,将其作为标题 + 内容返回)
|
_getContents, getContents, prependContentsWith
protected void copyBlockHeaderToContents()
copyBlockHeaderToContents
in class
StreamStore
public static byte[][] decompress(byte[] data, int offset, int length) throws java.io.IOException
java.io.IOException
(java.io.IOException)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.