Writes a big-endian 4-byte int at the begining 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)
| 196 | * @throws IndexOutOfBoundsException if the byte array is too small. |
| 197 | */ |
| 198 | public static void setInt(final byte[] b, final int n) { |
| 199 | setInt(b, n, 0); |
| 200 | } |
| 201 | |
| 202 | /** |
| 203 | * Writes a big-endian 4-byte int at an offset in the given array. |
no outgoing calls