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

Method writeHBaseByteArray

src/HBaseRpc.java:988–991  ·  view source on GitHub ↗

Writes a byte array as an HBase RPC parameter. @param buf The buffer to serialize the string to. @param b The byte array to serialize.

(final ChannelBuffer buf, final byte[] b)

Source from the content-addressed store, hash-verified

986 * @param b The byte array to serialize.
987 */
988 static void writeHBaseByteArray(final ChannelBuffer buf, final byte[] b) {
989 buf.writeByte(11); // Code for byte[].class in HbaseObjectWritable
990 writeByteArray(buf, b);
991 }
992
993 /**
994 * Writes a byte array.

Callers 10

serializeOldMethod · 0.80
serializeOldMethod · 0.80
serializeOldMethod · 0.80
serializeOldMethod · 0.80
serializeMethod · 0.80
serializeMethod · 0.80
serializeOldMethod · 0.80
serializeOldMethod · 0.80
serializeOldMethod · 0.80
serializeOldMethod · 0.80

Calls 1

writeByteArrayMethod · 0.95

Tested by

no test coverage detected