private static BinaryMemcacheRequest handleStoreRequest(final ChannelHandlerContext ctx,
final BinaryStoreRequest msg) {
ByteBuf extras = ctx.alloc().buffer(8);
extras.writeInt(msg.flags());
extras.writeInt(msg.expiration());
<BUG>String key = msg.key();
short keyLength = (short) msg.keyBytes().length;
byte extrasLength = (byte) extras.readableBytes();</BUG>
FullBinaryMemcacheRequest request = new DefaultFullBinaryMemcacheRequest(key, extras, msg.content());
if (msg instanceof InsertRequest) {

private static BinaryMemcacheRequest handleStoreRequest(final ChannelHandlerContext ctx,
final BinaryStoreRequest msg) {
ByteBuf extras = ctx.alloc().buffer(8);
extras.writeInt(msg.flags());
extras.writeInt(msg.expiration());
byte[] key = msg.keyBytes();
short keyLength = (short) key.length;
byte extrasLength = (byte) extras.readableBytes();
FullBinaryMemcacheRequest request = new DefaultFullBinaryMemcacheRequest(key, extras, msg.content());
if (msg instanceof InsertRequest) {
