request.setOpcode(OP_OBSERVE_SEQ);
request.setTotalBodyLength(content.readableBytes());
return request;
}
private static BinaryMemcacheRequest handleAppendRequest(final AppendRequest msg) {
<BUG>String key = msg.key();
short keyLength = (short) msg.keyBytes().length;
BinaryMemcacheRequest request = new DefaultFullBinaryMemcacheRequest(key, Unpooled.EMPTY_BUFFER, msg.content());</BUG>
request.setOpcode(OP_APPEND);
request.setKeyLength(keyLength);

request.setOpcode(OP_OBSERVE_SEQ);
request.setTotalBodyLength(content.readableBytes());
return request;
}
private static BinaryMemcacheRequest handleAppendRequest(final AppendRequest msg) {
byte[] key = msg.keyBytes();
short keyLength = (short) key.length;
BinaryMemcacheRequest request = new DefaultFullBinaryMemcacheRequest(key, Unpooled.EMPTY_BUFFER, msg.content());
request.setOpcode(OP_APPEND);
request.setKeyLength(keyLength);
