Method | Description | |
---|---|---|
ReadInt16_BE ( byte buffer, int position ) : |
Reads a 2-byte signed integer that is stored in the buffer in big-endian format. The returned value is in the native endianness.
|
|
ReadInt32_BE ( byte buffer, int position ) : |
Reads a 4-byte signed integer that is stored in the buffer in big-endian format. The returned value is in the native endianness.
|
|
WriteInt16_BE ( |
Writes a 2-byte signed integer to the buffer in big-endian format.
|
|
WriteInt32_BE ( |
Writes a 4-byte signed integer to the buffer in big-endian format.
|
public static ReadInt16_BE ( byte buffer, int position ) : |
||
buffer | byte | The buffer to read. |
position | int | The index of the first byte to read. |
return |
public static ReadInt32_BE ( byte buffer, int position ) : |
||
buffer | byte | The buffer to read. |
position | int | The index of the first byte to read. |
return |
public static WriteInt16_BE ( |
||
value | The value to write to the buffer. | |
buffer | byte | The buffer to write to. |
position | int | The index of the first byte to write to. |
return | void |
public static WriteInt32_BE ( |
||
value | The value to write to the buffer. | |
buffer | byte | The buffer to write to. |
position | int | The index of the first byte to write to. |
return | void |