[]
Create an int from a byte [4], with optional byte swapping.
public static int getInt(byte[] bfr, int off, bool swap)
Type | Name | Description |
---|---|---|
byte[] | bfr | data array |
int | off | start of data in array |
bool | swap | swap bytes? |
Type | Description |
---|---|
int | native type from representation. |
Create an int from a byte [4].
public static int getInt(byte[] bfr, int off)
Type | Name | Description |
---|---|---|
byte[] | bfr | data array |
int | off | start of data in array |
Type | Description |
---|---|
int | native type from representation. |