Class NestedByteArrayInputStream

java.lang.Object
java.io.InputStream
java.io.ByteArrayInputStream
org.openjdk.asmtools.jdec.NestedByteArrayInputStream
All Implemented Interfaces:
Closeable, AutoCloseable

public class NestedByteArrayInputStream extends ByteArrayInputStream
this class provides functionality needed to read class files:
  • methods to read unsigned integers of various length
  • counts bytes read so far
  • Field Details

    • savedStates

      Stack savedStates
  • Constructor Details

    • NestedByteArrayInputStream

      NestedByteArrayInputStream(byte[] buf)
    • NestedByteArrayInputStream

      NestedByteArrayInputStream(byte[] buf, int offset, int length)
  • Method Details

    • getPos

      public int getPos()
    • enter

      public void enter(int range)
    • leave

      public void leave()