Class ByteSequence
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
java.io.DataInputStream
org.aspectj.apache.bcel.util.ByteSequence
- All Implemented Interfaces:
Closeable, DataInput, AutoCloseable
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.
- Version:
- $Id: ByteSequence.java,v 1.3 2008/05/28 23:52:53 aclement Exp $
- Author:
- M. Dahm
-
Field Summary
Fields inherited from class FilterInputStream
in -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class DataInputStream
read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, readUTF, skipBytesMethods inherited from class FilterInputStream
available, close, mark, markSupported, read, reset, skipMethods inherited from class InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Constructor Details
-
ByteSequence
public ByteSequence(byte[] bytes)
-
-
Method Details
-
getIndex
public final int getIndex()
-