Method | Description | |
---|---|---|
ToBytes ( uint value, int length ) : byte[] |
Used to easily convert "0xFFFFFF" into 3 bytes, each with the value of FF.
|
|
Write16 ( |
||
Write32 ( |
||
Write8 ( |
||
WriteArray ( |
||
WriteFloat ( |
||
WriteString ( |
public static ToBytes ( uint value, int length ) : byte[] | ||
value | uint | Value of bytes in Hexadecimal format, ie: 0xFF or 0xFF00FF |
length | int | Number of bytes in length, ie: 1 or 3. |
return | byte[] |
public static Write16 ( |
||
bWriter | ||
value | ushort | |
return | void |
public static Write32 ( |
||
bWriter | ||
value | int | |
return | void |
public static Write8 ( |
||
bWriter | ||
value | byte | |
return | void |
public static WriteArray ( |
||
binaryWriter | ||
value | byte | |
return | void |
public static WriteFloat ( |
||
binaryWriter | ||
value | float | |
return | void |
public static WriteString ( |
||
bWriter | ||
str | string | |
length | int | |
return | void |