Метод | Описание | |
---|---|---|
IFFReader ( Stream input ) : System |
Initializes new instance using stream.
|
|
ReadAll ( ) : IEnumerable |
Enumerates through all chunks in file.
|
|
ReadByte ( ) : byte |
Reads one byte.
|
|
ReadBytes ( int count ) : byte[] |
Reads bytes with specified count.
|
|
ReadChunkHeader ( ) : |
Reads chunk header.
|
|
ReadFileHeader ( ) : |
Reads file header on beginning of data.
|
|
ReadInt16 ( ) : short |
Reads one int16. Automatically converted to little endian.
|
|
ReadInt32 ( ) : int |
Reads one int32. Automatically converted to little endian.
|
|
ReadRest ( ) : void |
Reads all remaining bytes from chunk.
|
|
ReadUInt16 ( ) : ushort |
Reads one uint16. Automatically converted to little endian.
|
|
ReadUInt32 ( ) : uint |
Reads one uint32. Automatically converted to little endian.
|
|
ReadUnpack ( int count ) : byte[] |
Reads packed bytes with specified count.
|
|
ToLittleEndian ( int value ) : int |
Converts value in big endian to current endian.
|
|
ToLittleEndian ( short value ) : short |
Converts value in big endian to current endian.
|
|
ToLittleEndian ( uint value ) : uint |
Converts value in big endian to current endian.
|
|
ToLittleEndian ( ushort value ) : ushort |
Converts value in big endian to current endian.
|
|
Unpack ( Stream input, int size, int &read ) : byte[] |
Reads packed data from stream.
|
|
Unpack ( Stream input, Stream output, int size ) : int |
Reads packed data from stream.
|
public IFFReader ( Stream input ) : System | ||
input | Stream | /// Input stream. /// |
Результат | System |
public ReadBytes ( int count ) : byte[] | ||
count | int | /// Bytes count. /// |
Результат | byte[] |
public ReadUnpack ( int count ) : byte[] | ||
count | int | /// Bytes count. /// |
Результат | byte[] |
public static ToLittleEndian ( int value ) : int | ||
value | int | /// Value to convert. /// |
Результат | int |
public static ToLittleEndian ( short value ) : short | ||
value | short | /// Value to convert. /// |
Результат | short |
public static ToLittleEndian ( uint value ) : uint | ||
value | uint | /// Value to convert. /// |
Результат | uint |
public static ToLittleEndian ( ushort value ) : ushort | ||
value | ushort | /// Value to convert. /// |
Результат | ushort |
public static Unpack ( Stream input, int size, int &read ) : byte[] | ||
input | Stream | /// Input stream. /// |
size | int | /// Data size. /// |
read | int | /// Bytes read. /// |
Результат | byte[] |
public static Unpack ( Stream input, Stream output, int size ) : int | ||
input | Stream | /// Input stream. /// |
output | Stream | /// Output stream. /// |
size | int | /// Data size. /// |
Результат | int |