All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class espresso.classfile.util.ByteSequence

java.lang.Object
   |
   +----java.io.InputStream
           |
           +----java.io.FilterInputStream
                   |
                   +----java.io.DataInputStream
                           |
                           +----espresso.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.


Variable Index

 o byte_stream

Constructor Index

 o ByteSequence(byte[])

Method Index

 o getByte()
 o getIndex()

Variables

 o byte_stream
 private ByteArrayStream byte_stream

Constructors

 o ByteSequence
 public ByteSequence(byte bytes[])

Methods

 o getByte
 byte getByte() throws IOException
 o getIndex
 public final int getIndex()

All Packages  Class Hierarchy  This Package  Previous  Next  Index