Class IndexDecoder
java.lang.Object
org.graalvm.shadowed.org.tukaani.xz.index.IndexDecoder
-
Constructor Summary
ConstructorsConstructorDescriptionIndexDecoder(SeekableInputStream in, StreamFlags streamFooterFlags, long streamPadding, int memoryLimit) -
Method Summary
Modifier and TypeMethodDescriptionlonglongintintlonglongbooleanhasRecord(int blockNumber) booleanhasUncompressedOffset(long pos) voidlocateBlock(BlockInfo info, long target) voidsetBlockInfo(BlockInfo info, int blockNumber) voidsetOffsets(IndexDecoder prev)
-
Constructor Details
-
IndexDecoder
public IndexDecoder(SeekableInputStream in, StreamFlags streamFooterFlags, long streamPadding, int memoryLimit) throws IOException - Throws:
IOException
-
-
Method Details
-
setOffsets
-
getMemoryUsage
public int getMemoryUsage() -
getStreamFlags
-
getRecordCount
public int getRecordCount() -
getUncompressedSize
public long getUncompressedSize() -
getLargestBlockSize
public long getLargestBlockSize() -
hasUncompressedOffset
public boolean hasUncompressedOffset(long pos) -
hasRecord
public boolean hasRecord(int blockNumber) -
locateBlock
-
setBlockInfo
-
getIndexSize
public long getIndexSize() -
getStreamSize
public long getStreamSize()
-