code: private static BinaryMemcacheRequest handleReplicaGetRequest(final ReplicaGetRequest msg) {
          byte[] key = msg.keyBytes();
          short keyLength = (short) key.length;
          BinaryMemcacheRequest request = new DefaultBinaryMemcacheRequest(key);
  
          request.setOpcode(OP_GET_REPLICA)
              .setKeyLength(keyLength)
              .setTotalBodyLength(keyLength);
          return request;
      }
docs: Encodes a {@link ReplicaGetRequest} into its lower level representation.
  
  @return a ready {@link BinaryMemcacheRequest}.