Reads a little-endian 4-byte integer from the beginning 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)
| 281 | * @throws IndexOutOfBoundsException if the byte array is too small. |
| 282 | */ |
| 283 | public static int getInt(final byte[] b) { |
| 284 | return getInt(b, 0); |
| 285 | } |
| 286 | |
| 287 | /** |
| 288 | * Reads a little-endian 4-byte integer from an offset in the given array. |
no outgoing calls