Reads a big-endian 2-byte short from the begining of the given array. @param b The array to read from. @return A short integer. @throws IndexOutOfBoundsException if the byte array is too small.
(final byte[] b)
| 72 | * @throws IndexOutOfBoundsException if the byte array is too small. |
| 73 | */ |
| 74 | public static short getShort(final byte[] b) { |
| 75 | return getShort(b, 0); |
| 76 | } |
| 77 | |
| 78 | /** |
| 79 | * Reads a big-endian 2-byte short from an offset in the given array. |
no outgoing calls
no test coverage detected