MCPcopy Create free account
hub / github.com/OpenTSDB/asynchbase / getLong

Method getLong

src/Bytes.java:232–234  ·  view source on GitHub ↗

Reads a big-endian 8-byte long from the begining of the given array. @param b The array to read from. @return A long integer. @throws IndexOutOfBoundsException if the byte array is too small.

(final byte[] b)

Source from the content-addressed store, hash-verified

230 * @throws IndexOutOfBoundsException if the byte array is too small.
231 */
232 public static long getLong(final byte[] b) {
233 return getLong(b, 0);
234 }
235
236 /**
237 * Reads a big-endian 8-byte long from an offset in the given array.

Calls

no outgoing calls