// 2nd param: Get object
buf.writeByte(32); // Code for a `Get' parameter.
buf.writeByte(32); // Code again (see HBASE-2877).
buf.writeByte(1); // Get#GET_VERSION. Undocumented versioning of Get.
writeByteArray(buf, key);
buf.writeLong(lockid); // Lock ID.
buf.writeInt(maxVersions()); // Max number of versions to return.
buf.writeByte(0x00); // boolean (false): whether or not to use a filter.
// If the previous boolean was true:
// writeByteArray(buf, filter name as byte array);
// write the filter itself