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)
| 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. |
no test coverage detected