|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.InputStream
java.io.FilterInputStream
java.io.DataInputStream
harpoon.IR.RawClass.ClassDataInputStream
public class ClassDataInputStream
A specialized input stream reader for java bytecode files.
ClassDataOutputStream
Field Summary |
---|
Fields inherited from class java.io.FilterInputStream |
---|
in |
Constructor Summary | |
---|---|
ClassDataInputStream(InputStream in)
Creates a ClassDataInputStream from a standard
InputStream . |
Method Summary | |
---|---|
int |
read_u1()
Read an unsigned one-byte quantity, high byte first. |
int |
read_u2()
Read an unsigned two-byte quantity, high byte first. |
long |
read_u4()
Read an unsigned four-byte quantity, high byte first. |
long |
readUnsignedInt()
Supplies the mysterious missing method from the standard DataInputStream superclass. |
Methods inherited from class java.io.DataInputStream |
---|
read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, readUTF, skipBytes |
Methods inherited from class java.io.FilterInputStream |
---|
available, close, mark, markSupported, read, reset, skip |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClassDataInputStream(InputStream in)
ClassDataInputStream
from a standard
InputStream
.
Method Detail |
---|
public final long readUnsignedInt() throws IOException
DataInputStream
superclass.
IOException
public final int read_u1() throws IOException
IOException
public final int read_u2() throws IOException
IOException
public final long read_u4() throws IOException
IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |