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

Method createMaxByteArray

src/Bytes.java:58–62  ·  view source on GitHub ↗

Create a max byte array with the specified max byte count @param num_bytes the length of returned byte array @return the created max byte array

(int num_bytes)

Source from the content-addressed store, hash-verified

56 * @return the created max byte array
57 */
58 public static byte[] createMaxByteArray(int num_bytes) {
59 byte[] max_byte_arr = new byte[num_bytes];
60 Arrays.fill(max_byte_arr, (byte) 0xff);
61 return max_byte_arr;
62 }
63
64 // ------------------------------ //
65 // Byte array conversion utilies. //

Callers 1

nextRowsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected