public class LzmaDecompressor extends IDecompressor
| 限定符和类型 | 字段和说明 |
|---|---|
static java.lang.String |
COMPRESSOR_NAME |
COMPRESSOR_ENABLE| 构造器和说明 |
|---|
LzmaDecompressor() |
LzmaDecompressor(int cacheSize) |
LzmaDecompressor(edu.sysu.pmglab.container.VolumeByteStream cache) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close()
关闭压缩器方法
|
static edu.sysu.pmglab.container.VolumeByteStream |
decompress(byte[] src,
int offset,
int length) |
int |
decompress(byte[] src,
int srcOffset,
int srcLength,
byte[] dst,
int dstOffset,
int detLength)
解压缩方法, 解压 src 数据, 并写入到 dst 中
|
static int |
decompressBound(byte[] src,
int offset,
int length) |
int |
getDecompressBound(byte[] src,
int offset,
int length)
预估解压大小
|
decompress, decompress, decompress, decompress, decompress, getCache, getCompressorIndex, getCompressorName, getInstance, getInstance, getInstance, resetpublic static final java.lang.String COMPRESSOR_NAME
public LzmaDecompressor()
public LzmaDecompressor(int cacheSize)
public LzmaDecompressor(edu.sysu.pmglab.container.VolumeByteStream cache)
public int getDecompressBound(byte[] src,
int offset,
int length)
IDecompressorgetDecompressBound 在类中 IDecompressorsrc - 源数据offset - 偏移量length - 输入数据长度public final int decompress(byte[] src,
int srcOffset,
int srcLength,
byte[] dst,
int dstOffset,
int detLength)
throws java.io.IOException
IDecompressordecompress 在类中 IDecompressorsrc - 源数据srcOffset - 源数据偏移量srcLength - 源数据传入长度dst - 目标容器dstOffset - 目标容器偏移量detLength - 目标容器可用长度java.io.IOException - IO 异常public void close()
IDecompressorclose 在接口中 java.lang.AutoCloseableclose 在类中 IDecompressorpublic static int decompressBound(byte[] src,
int offset,
int length)
public static edu.sysu.pmglab.container.VolumeByteStream decompress(byte[] src,
int offset,
int length)
throws java.io.IOException
java.io.IOException