Writes a little-endian 4-byte int at the beginning of the given array. @param b The array to write to. @param n An integer. @throws IndexOutOfBoundsException if the byte array is too small.
(final byte[] b, final int n)
| 328 | * @throws IndexOutOfBoundsException if the byte array is too small. |
| 329 | */ |
| 330 | public static void setInt(final byte[] b, final int n) { |
| 331 | setInt(b, n, 0); |
| 332 | } |
| 333 | |
| 334 | /** |
| 335 | * Writes a little-endian 4-byte int at an offset in the given array. |
no outgoing calls