Свойство | Тип | Описание | |
---|---|---|---|
_baOffset | int | ||
_baSize | int |
Метод | Описание | |
---|---|---|
ReadBytes ( int offset, int size ) : byte[] |
Performs bounds-checking, then reads bytes from the mapfile
|
|
ReadInt16 ( int offset ) : short | ||
ReadInt32 ( int offset ) : int | ||
ReadSingle ( int offset ) : float | ||
ReadString ( int offset ) : string | ||
WriteBytes ( int offset, byte data ) : void |
Performs bounds-checking, then writes bytes to the mapfile
|
|
WriteInt16 ( int offset, short toWrite ) : void | ||
WriteInt32 ( int offset, int toWrite ) : void |
Writes an int to the mapfile, handling endianness
|
|
WriteSingle ( int offset, float toWrite ) : void | ||
WriteString ( int offset, string toWrite ) : void |
Writes a string, as ascii, to the specified location in the map.
|
Метод | Описание | |
---|---|---|
BaseByteAccess ( int offset, int size ) : System | ||
readBytes ( int offset, int size ) : byte[] | ||
writeBytes ( int offset, byte data ) : void |
protected BaseByteAccess ( int offset, int size ) : System | ||
offset | int | |
size | int | |
Результат | System |
public ReadBytes ( int offset, int size ) : byte[] | ||
offset | int | The offset in bytes to write to |
size | int | The number of bytes to read |
Результат | byte[] |
public WriteBytes ( int offset, byte data ) : void | ||
offset | int | The offset in bytes to write to |
data | byte | The data to write |
Результат | void |
public WriteInt16 ( int offset, short toWrite ) : void | ||
offset | int | |
toWrite | short | |
Результат | void |
public WriteInt32 ( int offset, int toWrite ) : void | ||
offset | int | The offset in bytes to write to |
toWrite | int | The int to write |
Результат | void |
public WriteSingle ( int offset, float toWrite ) : void | ||
offset | int | |
toWrite | float | |
Результат | void |
public WriteString ( int offset, string toWrite ) : void | ||
offset | int | The offset in bytes to write to |
toWrite | string | The string to write |
Результат | void |
protected abstract readBytes ( int offset, int size ) : byte[] | ||
offset | int | |
size | int | |
Результат | byte[] |
protected abstract writeBytes ( int offset, byte data ) : void | ||
offset | int | |
data | byte | |
Результат | void |