메소드 | 설명 | |
---|---|---|
DataReader ( Stream baseStream ) : System |
Construct a new DataReader for the given stream.
|
|
ReadBoolean ( ) : bool |
Reads one input byte and returns true if that byte is nonzero, false if that byte is zero.
|
|
ReadChar ( ) : char |
Reads and returns one input byte. Reads an input char and returns the char value
|
|
ReadDouble ( ) : double |
Reads eight input bytes and returns a double value.
|
|
ReadFloat ( ) : float |
Reads four input bytes and returns a float value.
|
|
ReadFully ( byte b ) : void |
Reads some bytes from an input stream and stores them into the buffer array b.
|
|
ReadFully ( byte b, int off, int len ) : void |
Reads len bytes from an input stream.
|
|
ReadInt ( ) : int |
Reads four input bytes and returns an int value.
|
|
ReadLong ( ) : long |
Reads eight input bytes and returns a long value.
|
|
ReadShort ( ) : short |
Reads two input bytes and returns a short value.
|
|
ReadUTF ( ) : string |
Reads in a string that has been encoded using a modified UTF-8 format.
|
|
ReadUnsignedByte ( ) : int |
Reads one input byte, zero-extends it to type int, and returns the result, which is therefore in the range 0 through 255.
|
|
ReadUnsignedShort ( ) : int |
Reads two input bytes and returns an int value in the range 0 through 65535.
|
|
SkipBytes ( int n ) : int |
Makes an attempt to skip over n bytes of data from the input stream, discarding the skipped bytes.
|
메소드 | 설명 | |
---|---|---|
utfErr ( ) : |
public ReadFully ( byte b, int off, int len ) : void | ||
b | byte | |
off | int | |
len | int | |
리턴 | void |