Package org.openjdk.asmtools.jdec
Class NestedByteArrayInputStream
- java.lang.Object
-
- java.io.InputStream
-
- java.io.ByteArrayInputStream
-
- org.openjdk.asmtools.jdec.NestedByteArrayInputStream
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
public class NestedByteArrayInputStream extends java.io.ByteArrayInputStream
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 Modifier and Type Field Description (package private) java.util.Stack
savedStates
-
Constructor Summary
Constructors Constructor Description NestedByteArrayInputStream(byte[] buf)
NestedByteArrayInputStream(byte[] buf, int offset, int length)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
enter(int range)
int
getPos()
void
leave()
-