java.lang.Object
org.glavo.jimage.decompressor.CompressIndexes
Index compressor. Use the minimal amount of bytes required to store
an integer.
- Implementation Note:
- This class needs to maintain JDK 8 source compatibility. It is used internally in the JDK to implement jimage/jrtfs access, but also compiled and delivered as part of the jrtfs.jar to support access to the jimage file provided by the shipped JDK by tools running on JDK 8.
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static byte[]compress(int value) static intdecompress(byte[] value, int offset) decompressFlow(byte[] values) static int
-
构造器详细资料
-
CompressIndexes
public CompressIndexes()
-
-
方法详细资料
-
decompressFlow
-
readInt
- 抛出:
IOException
-
decompress
public static int decompress(byte[] value, int offset) -
compress
public static byte[] compress(int value)
-