Метод | Описание | |
---|---|---|
Close ( ) : void |
Closes this FileReader instance.
|
|
Dispose ( ) : void | ||
FileReader ( Stream DataStream, bool BigEndian ) : System |
Creates a new FileReader instance.
|
|
FileReader ( string Path, bool BigEndian ) : System |
Creates a new FileReader instance.
|
|
ReadByte ( ) : byte |
Reads a byte from the underlying stream.
|
|
ReadBytes ( int Count ) : byte[] |
Reads a specified number of bytes from the underlying stream.
|
|
ReadCString ( ) : string |
Reads a null-terminated string from the underlying stream.
|
|
ReadFloat ( ) : float |
Reads a float from the underlying stream. Doesn't support endian swapping.
|
|
ReadInt16 ( ) : short |
Reads a short from the underlying stream.
|
|
ReadInt32 ( ) : int |
Reads an int from the underlying stream.
|
|
ReadPaddedCString ( ) : string |
Reads a padded null-terminated string from the underlying stream.
|
|
ReadPascalString ( ) : string |
Reads a pascal string from the underlying stream, where one byte preceeds it denoting the length.
|
|
ReadString ( ) : string |
Reads a string from the underlying stream.
|
|
ReadString ( int NumChars ) : string |
Reads a string with a pre-determined length from the underlying stream.
|
|
ReadToEnd ( ) : byte[] |
Reads all the remaining bytes in this stream.
|
|
ReadUInt32 ( ) : uint |
Reads a uint from the underlying stream.
|
|
ReadUInt64 ( ) : ulong |
Reads a ulong from the underlying stream.
|
|
ReadUShort ( ) : ushort |
Reads a ushort from the underlying stream.
|
|
Seek ( long Offset ) : void |
Seeks in the underlying stream, always assuming an origin of the beginning of the stream.
|
Метод | Описание | |
---|---|---|
Dispose ( bool CleanupNativeAndManagedResources ) : void |
protected Dispose ( bool CleanupNativeAndManagedResources ) : void | ||
CleanupNativeAndManagedResources | bool | |
Результат | void |
public FileReader ( Stream DataStream, bool BigEndian ) : System | ||
DataStream | Stream | |
BigEndian | bool | Is the data stored as big endian? |
Результат | System |
public FileReader ( string Path, bool BigEndian ) : System | ||
Path | string | The path of the file to read. |
BigEndian | bool | Is the filed stored as big endian? |
Результат | System |
public ReadBytes ( int Count ) : byte[] | ||
Count | int | Number of bytes to read. |
Результат | byte[] |
public ReadString ( int NumChars ) : string | ||
NumChars | int | Number of characters in string. |
Результат | string |
public Seek ( long Offset ) : void | ||
Offset | long | The offset to seek to. |
Результат | void |