Class ByteSequence

All Implemented Interfaces:
Closeable, DataInput, AutoCloseable

public final class ByteSequence extends DataInputStream
Utility class that implements a sequence of bytes which can be read via the 'readByte()' method. This is used to implement a wrapper for the Java byte code stream to gain some more readability.
  • Field Details

  • Constructor Details

    • ByteSequence

      public ByteSequence(byte[] bytes)
  • Method Details

    • getIndex

      public int getIndex()
    • unreadByte

      void unreadByte()