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

Method getShort

src/Bytes.java:74–76  ·  view source on GitHub ↗

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

(final byte[] b)

Source from the content-addressed store, hash-verified

72 * @throws IndexOutOfBoundsException if the byte array is too small.
73 */
74 public static short getShort(final byte[] b) {
75 return getShort(b, 0);
76 }
77
78 /**
79 * Reads a big-endian 2-byte short from an offset in the given array.

Callers 4

getUnsignedShortMethod · 0.95
HBaseClientMethod · 0.45
newTimerMethod · 0.45
setFlushIntervalMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected