MCPcopy Create free account
hub / github.com/apache/kudu / setInt

Method setInt

java/kudu-client/src/main/java/org/apache/kudu/client/Bytes.java:330–332  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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.

Callers 7

testMethod · 0.95
fromIntMethod · 0.95
setFloatMethod · 0.95
setBigDecimalMethod · 0.95
addIntMethod · 0.95
addDateMethod · 0.95
incrementColumnMethod · 0.95

Calls

no outgoing calls

Tested by 1

testMethod · 0.76