jellyj.classfile.util
Class ByteSequence

java.lang.Object
  |
  +--java.io.InputStream
        |
        +--java.io.FilterInputStream
              |
              +--java.io.DataInputStream
                    |
                    +--jellyj.classfile.util.ByteSequence

public 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.

Author:
JellyJ Design Group

Constructor Summary
ByteSequence(byte[] bytes)
           

Method Summary
 (package private) bytegetByte()
           
 final intgetIndex()
           

Methods inherited from class java.io.DataInputStream
read, read, readFully, readFully, skipBytes, readBoolean, readByte, readUnsignedByte, readShort, readUnsignedShort, readChar, readInt, readLong, readFloat, readDouble, readLine, readUTF, readUTF

Methods inherited from class java.io.FilterInputStream
read, skip, available, close, mark, reset, markSupported

Methods inherited from class java.lang.Object
getClass, hashCode, equals, toString, notify, notifyAll, wait, wait, wait

Constructor Detail

ByteSequence

public ByteSequence(byte[] bytes)
Method Detail

getByte

byte getByte()
throws java.io.IOException

getIndex

public final int getIndex()

Association Links

to Class jellyj.classfile.util.ByteArrayStream