Méthode | Description | |
---|---|---|
Add ( object value ) : void |
Add new object to the byte buffer.
|
|
Array ( ) : byte[] |
Returs data as byte array.
|
|
Clear ( ) : void |
Clear buffer but do not release memory.
|
|
Compare ( byte arr ) : bool |
Compares, whether two given arrays are similar starting from current position.
|
|
Get ( byte target ) : void |
Get value from the byte array.
|
|
GetDouble ( ) : double |
Get double value from byte array from the current position and then increments the position.
|
|
GetFloat ( ) : float |
Get float value from byte array from the current position and then increments the position.
|
|
GetInt16 ( ) : |
Get Int16 value from byte array from the current position and then increments the position.
|
|
GetInt16 ( int index ) : |
Get Int16 value from byte array.
|
|
GetInt32 ( ) : |
Get UInt32 value from byte array from the current position and then increments the position.
|
|
GetInt64 ( ) : System.Int64 |
Get Int64 value from byte array from the current position and then increments the position.
|
|
GetInt8 ( ) : sbyte |
Get Int8 value from byte array from the current position and then increments the position.
|
|
GetString ( int count ) : string |
Get String value from byte array.
|
|
GetString ( int index, int count ) : string |
Get String value from byte array.
|
|
GetStringUtf8 ( int index, int count ) : string |
Get String value from byte array.
|
|
GetUInt16 ( ) : |
Get UInt16 value from byte array from the current position and then increments the position.
|
|
GetUInt16 ( int index ) : |
Get UInt16 value from byte array.
|
|
GetUInt32 ( ) : |
Get UInt32 value from byte array from the current position and then increments the position.
|
|
GetUInt32 ( int index ) : |
Get Int32 value from byte array.
|
|
GetUInt64 ( ) : System.UInt64 |
Get UInt64 value from byte array from the current position and then increments the position.
|
|
GetUInt8 ( ) : byte |
Get UInt8 value from byte array from the current position and then increments the position.
|
|
GetUInt8 ( int index ) : byte |
Get UInt8 value from byte array.
|
|
Move ( int srcPos, int destPos, int count ) : void |
Move content from source to destination.
|
|
Set ( |
||
Set ( |
Set new value to byte array.
|
|
Set ( byte value ) : void |
Push the given byte array into this buffer at the current position, and then increments the position.
|
|
Set ( byte value, int index, int count ) : void |
Set new value to byte array.
|
|
Set ( int index, byte value ) : void |
Push the given byte array into this buffer at the current position, and then increments the position.
|
|
SetDouble ( double value ) : void |
Set float value to byte array.
|
|
SetFloat ( float value ) : void |
Set float value to byte array.
|
|
SetHexString ( int index, string value ) : void |
Push the given hex string as byte array into this buffer at the current position, and then increments the position.
|
|
SetHexString ( string value ) : void |
Push the given hex string as byte array into this buffer at the current position, and then increments the position.
|
|
SetHexString ( string value, int index, int count ) : void |
Push the given hex string as byte array into this buffer at the current position, and then increments the position.
|
|
SetInt16 ( |
Push the given Int16 into this buffer at the current position, and then increments the position.
|
|
SetInt16 ( int index, |
Push the given Int16 into this buffer at the given position.
|
|
SetInt32 ( |
Push the given UInt32 into this buffer at the current position, and then increments the position.
|
|
SetInt32 ( int index, |
Push the given UInt32 into this buffer at the given position.
|
|
SetInt64 ( System.Int64 value ) : void |
Push the given UInt64 into this buffer at the current position, and then increments the position.
|
|
SetInt64 ( int index, System.Int64 item ) : void |
Push the given UInt64 into this buffer at the given position.
|
|
SetUInt16 ( |
Push the given UInt16 into this buffer at the current position, and then increments the position.
|
|
SetUInt16 ( int index, |
Push the given UInt16 into this buffer at the given position.
|
|
SetUInt32 ( |
Push the given UInt32 into this buffer at the current position, and then increments the position.
|
|
SetUInt32 ( int index, |
Push the given UInt32 into this buffer at the given position.
|
|
SetUInt64 ( System.UInt64 value ) : void |
Push the given UInt64 into this buffer at the current position, and then increments the position.
|
|
SetUInt64 ( int index, System.UInt64 item ) : void |
Push the given UInt64 into this buffer at the given position.
|
|
SetUInt8 ( byte value ) : void |
Push the given byte into this buffer at the current position, and then increments the position.
|
|
SetUInt8 ( int index, byte value ) : void |
Push the given UInt8 into this buffer at the given position.
|
|
SubArray ( int index, int count ) : byte[] |
Returns data as byte array.
|
|
ToString ( ) : string | ||
Trim ( ) : void |
Remove handled bytes. This can be used in debugging to remove handled bytes. |
Méthode | Description | |
---|---|---|
GXByteBuffer ( ) : System | ||
GXByteBuffer ( |
||
GXByteBuffer ( |
||
GXByteBuffer ( byte value ) : System | ||
SetUInt8 ( |
Push the given enumeration value as byte into this buffer at the current position, and then increments the position.
|
public Compare ( byte arr ) : bool | ||
arr | byte | Array to compare. |
Résultat | bool |
public GetInt16 ( int index ) : |
||
index | int | Byte index. |
Résultat |
public GetString ( int count ) : string | ||
count | int | Byte count. |
Résultat | string |
public GetString ( int index, int count ) : string | ||
index | int | Byte index. |
count | int | Byte count. |
Résultat | string |
public GetStringUtf8 ( int index, int count ) : string | ||
index | int | Byte index. |
count | int | Byte count. |
Résultat | string |
public GetUInt16 ( int index ) : |
||
index | int | Byte index. |
Résultat |
public GetUInt32 ( int index ) : |
||
index | int | Byte index. |
Résultat |
public Move ( int srcPos, int destPos, int count ) : void | ||
srcPos | int | Source position. |
destPos | int | Destination position. |
count | int | Item count. |
Résultat | void |
public Set ( |
||
value | Byte array to add. | |
count | int | Byte count. |
Résultat | void |
public Set ( byte value ) : void | ||
value | byte | The value to be added. |
Résultat | void |
public Set ( byte value, int index, int count ) : void | ||
value | byte | Byte array to add. |
index | int | Byte index. |
count | int | Byte count. |
Résultat | void |
public Set ( int index, byte value ) : void | ||
index | int | Byte index. |
value | byte | The value to be added. |
Résultat | void |
public SetHexString ( int index, string value ) : void | ||
index | int | Byte index. |
value | string | The hex string to be added. |
Résultat | void |
public SetHexString ( string value ) : void | ||
value | string | The hex string to be added. |
Résultat | void |
public SetHexString ( string value, int index, int count ) : void | ||
value | string | Byte array to add. |
index | int | Byte index. |
count | int | Byte count. |
Résultat | void |
public SetInt16 ( |
||
value | The value to be added. | |
Résultat | void |
public SetInt16 ( int index, |
||
index | int | Zero based byte index where value is set. |
value | The value to be added. | |
Résultat | void |
public SetInt32 ( |
||
value | The value to be added. | |
Résultat | void |
public SetInt32 ( int index, |
||
index | int | Zero based byte index where value is set. |
item | ||
Résultat | void |
public SetInt64 ( System.Int64 value ) : void | ||
value | System.Int64 | The value to be added. |
Résultat | void |
public SetInt64 ( int index, System.Int64 item ) : void | ||
index | int | Zero based byte index where value is set. |
item | System.Int64 | |
Résultat | void |
public SetUInt16 ( |
||
value | The value to be added. | |
Résultat | void |
public SetUInt16 ( int index, |
||
index | int | Zero based byte index where value is set. |
value | The value to be added. | |
Résultat | void |
public SetUInt32 ( |
||
value | The value to be added. | |
Résultat | void |
public SetUInt32 ( int index, |
||
index | int | Zero based byte index where value is set. |
item | ||
Résultat | void |
public SetUInt64 ( System.UInt64 value ) : void | ||
value | System.UInt64 | The value to be added. |
Résultat | void |
public SetUInt64 ( int index, System.UInt64 item ) : void | ||
index | int | Zero based byte index where value is set. |
item | System.UInt64 | |
Résultat | void |
public SetUInt8 ( byte value ) : void | ||
value | byte | The value to be added. |
Résultat | void |
public SetUInt8 ( int index, byte value ) : void | ||
index | int | Zero based byte index where value is set. |
value | byte | The byte to be added. |
Résultat | void |
public SubArray ( int index, int count ) : byte[] | ||
index | int | |
count | int | |
Résultat | byte[] |