[]
Create a short from a two byte [], with optional byte swapping.
public static short getShort(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 |
|---|---|
| short | native type from representation. |
Create a short from a two byte [].
public static short getShort(byte[] bfr, int off)
| Type | Name | Description |
|---|---|---|
| byte[] | bfr | data array |
| int | off | start of data in array |
| Type | Description |
|---|---|
| short | native type from representation. |