Reads a big-endian 4-byte integer from the begining of the given array. @param b The array to read from. @return An integer. @throws IndexOutOfBoundsException if the byte array is too small.
(final byte[] b)
| 149 | * @throws IndexOutOfBoundsException if the byte array is too small. |
| 150 | */ |
| 151 | public static int getInt(final byte[] b) { |
| 152 | return getInt(b, 0); |
| 153 | } |
| 154 | |
| 155 | /** |
| 156 | * Reads a big-endian 4-byte integer from an offset in the given array. |
no outgoing calls
no test coverage detected