Method | Description | |
---|---|---|
DataInputStream ( Stream @in ) : System |
Creates a DataInputStream that uses the specified underlying InputStream.
|
|
Dispose ( ) : void | ||
Read ( byte b ) : int | ||
Read ( byte b, int off, int len ) : int | ||
ReadBoolean ( ) : bool | ||
ReadByte ( ) : byte | ||
ReadChar ( ) : char | ||
ReadDouble ( ) : double | ||
ReadFloat ( ) : float | ||
ReadFully ( byte b ) : void | ||
ReadFully ( byte b, int off, int len ) : void | ||
ReadInt ( ) : int | ||
ReadLong ( ) : long | ||
ReadShort ( ) : short | ||
ReadUTF ( ) : string | ||
ReadUTF ( IDataInput @in ) : string | ||
ReadUnsignedByte ( ) : int | ||
ReadUnsignedShort ( ) : int | ||
SkipBytes ( int n ) : int |
Method | Description | |
---|---|---|
ReadLine ( ) : string | ||
Skip ( Stream stream, int n ) : int |
Helper method for SkipBytes, since Position and Seek do not work on non-seekable streams.
|
public DataInputStream ( Stream @in ) : System | ||
@in | Stream | |
return | System |
public Read ( byte b, int off, int len ) : int | ||
b | byte | |
off | int | |
len | int | |
return | int |
public ReadFully ( byte b, int off, int len ) : void | ||
b | byte | |
off | int | |
len | int | |
return | void |
public static ReadUTF ( IDataInput @in ) : string | ||
@in | IDataInput | |
return | string |