Package org.openjdk.asmtools.jdec
Class NestedByteArrayInputStream
java.lang.Object
java.io.InputStream
java.io.ByteArrayInputStream
org.openjdk.asmtools.jdec.NestedByteArrayInputStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
this class provides functionality needed to read class files:
- methods to read unsigned integers of various length
- counts bytes read so far
-
Field Summary
Fields inherited from class java.io.ByteArrayInputStream
buf, count, mark, pos
-
Method Summary
Methods inherited from class java.io.ByteArrayInputStream
available, close, mark, markSupported, read, read, readAllBytes, readNBytes, reset, skip, transferTo
Methods inherited from class java.io.InputStream
nullInputStream, read, readNBytes, skipNBytes
-
Method Details
-
getPos
public int getPos() -
enter
public void enter(int range) -
leave
public void leave()
-