All Packages Class Hierarchy This Package Previous Next Index
Class harpoon.ClassFile.Raw.ClassDataInputStream
java.lang.Object
|
+----java.io.InputStream
|
+----java.io.FilterInputStream
|
+----java.io.DataInputStream
|
+----harpoon.ClassFile.Raw.ClassDataInputStream
- public class ClassDataInputStream
- extends DataInputStream
A specialized input stream reader for java bytecode files.
- Version:
- $Id: ClassDataInputStream.java,v 1.9 1998/10/11 03:01:11 cananian Exp $
- Author:
- C. Scott Ananian <cananian@alumni.princeton.edu>
- See Also:
- ClassDataOutputStream
-
ClassDataInputStream(InputStream)
- Creates a
ClassDataInputStream
from a standard
InputStream
.
-
read_u1()
- Read an unsigned one-byte quantity, high byte first.
-
read_u2()
- Read an unsigned two-byte quantity, high byte first.
-
read_u4()
- Read an unsigned four-byte quantity, high byte first.
-
readUnsignedInt()
- Supplies the mysterious missing method from the standard
DataInputStream
superclass.
ClassDataInputStream
public ClassDataInputStream(InputStream in)
- Creates a
ClassDataInputStream
from a standard
InputStream
.
readUnsignedInt
public final long readUnsignedInt() throws IOException
- Supplies the mysterious missing method from the standard
DataInputStream
superclass.
read_u1
public final int read_u1() throws IOException
- Read an unsigned one-byte quantity, high byte first.
read_u2
public final int read_u2() throws IOException
- Read an unsigned two-byte quantity, high byte first.
read_u4
public final long read_u4() throws IOException
- Read an unsigned four-byte quantity, high byte first.
All Packages Class Hierarchy This Package Previous Next Index