Свойство | Тип | Описание | |
---|---|---|---|
EnsureCapacity | void |
Метод | Описание | |
---|---|---|
ArrayWriter ( int initialBufferSize = 0x50 ) : System |
Creates a new instance of a ArrayWriter
|
|
SetBool ( bool value, int position ) : void |
Sets a bool in the buffer
|
|
SetByte ( byte value, int position ) : void |
Sets a unsigned byte in the buffer
|
|
SetBytes ( byte bytes, int position ) : void |
Sets bytes in the buffer
|
|
SetInt ( int value, int position ) : void |
Sets a signed int in the buffer
|
|
SetLong ( long value, int position ) : void |
Sets a signed long in the buffer
|
|
SetSByte ( sbyte value, int position ) : void |
Sets a signed byte in the buffer
|
|
SetShort ( short value, int position ) : void |
Sets a signed short in the buffer
|
|
SetUInt ( uint value, int position ) : void |
Sets a unsigned int in the buffer
|
|
SetULong ( ulong value, int position ) : void |
Sets a unsigned long in the buffer
|
|
SetUShort ( ushort value, int position ) : void |
Sets a unsigned short in the buffer
|
|
ToArray ( bool direct = false ) : byte[] |
Creates an byte array of the current ArrayWriter
|
|
WriteBool ( bool value ) : void |
Writes a bool to the buffer
|
|
WriteByte ( byte value ) : void |
Writes a unsigned byte to the buffer
|
|
WriteBytes ( byte bytes ) : void |
Writes bytes to the buffer
|
|
WriteInt ( int value ) : void |
Writes a signed int to the buffer
|
|
WriteLong ( long value ) : void |
Writes a signed long to the buffer
|
|
WriteMapleString ( string mString ) : void |
Write a string as maplestring to the buffer
|
|
WriteSByte ( sbyte value ) : void |
Writes a signed byte to the buffer
|
|
WriteShort ( short value ) : void |
Writes a signed short to the buffer
|
|
WriteUInt ( uint value ) : void |
Writes a unsigned int to the buffer
|
|
WriteULong ( ulong value ) : void |
Writes a unsigned long to the buffer
|
|
WriteUShort ( ushort value ) : void |
Writes a unsigned short to the buffer
|
|
WriteZeroBytes ( int count ) : void |
Writes a number of empty bytes to the buffer
|
Метод | Описание | |
---|---|---|
EnsureCapacity ( int length ) : void |
Prevents the buffer being to small
|
public ArrayWriter ( int initialBufferSize = 0x50 ) : System | ||
initialBufferSize | int | Sets the initial size of the buffer |
Результат | System |
public SetBool ( bool value, int position ) : void | ||
value | bool | |
position | int | |
Результат | void |
public SetByte ( byte value, int position ) : void | ||
value | byte | |
position | int | |
Результат | void |
public SetBytes ( byte bytes, int position ) : void | ||
bytes | byte | |
position | int | |
Результат | void |
public SetInt ( int value, int position ) : void | ||
value | int | |
position | int | |
Результат | void |
public SetLong ( long value, int position ) : void | ||
value | long | |
position | int | |
Результат | void |
public SetSByte ( sbyte value, int position ) : void | ||
value | sbyte | |
position | int | |
Результат | void |
public SetShort ( short value, int position ) : void | ||
value | short | |
position | int | |
Результат | void |
public SetUInt ( uint value, int position ) : void | ||
value | uint | |
position | int | |
Результат | void |
public SetULong ( ulong value, int position ) : void | ||
value | ulong | |
position | int | |
Результат | void |
public SetUShort ( ushort value, int position ) : void | ||
value | ushort | |
position | int | |
Результат | void |
public ToArray ( bool direct = false ) : byte[] | ||
direct | bool | If true, returns a direct reference of the buffer |
Результат | byte[] |
public WriteMapleString ( string mString ) : void | ||
mString | string | String to write |
Результат | void |
public WriteUShort ( ushort value ) : void | ||
value | ushort | |
Результат | void |
public WriteZeroBytes ( int count ) : void | ||
count | int | Number of empty (zero) bytes to write |
Результат | void |