Static Public Member Functions | |
| static byte[] | shortToBytes (short[] arr) |
| static short | bytesToShort (byte[] byteArray, int offset) |
Static Package Attributes | |
| static byte[] | output |
A helper-class containing functionality to convert arrays of different types
Definition at line 9 of file DataConversion.java.
| static short theba.core.io.DataConversion.bytesToShort | ( | byte[] | byteArray, | |
| int | offset | |||
| ) | [static] |
Convert the two bytes starting at the given offset to a short
| byteArray | the byte array | |
| offset | where to start |
| java.lang.ArrayIndexOutOfBoundsException |
Definition at line 34 of file DataConversion.java.
| static byte [] theba.core.io.DataConversion.shortToBytes | ( | short[] | arr | ) | [static] |
Definition at line 12 of file DataConversion.java.
References theba.core.io.DataConversion.output.
byte [] theba.core.io.DataConversion.output [static, package] |
Definition at line 10 of file DataConversion.java.
Referenced by theba.core.io.DataConversion.shortToBytes().
1.6.1