public byte[] getKey() {
    return key;
  }
This method should be used to obtain instances of KeyWrapper.

@param key the key to wrap
@return an instance of KeyWrapper that can be used as a key in Region/Map
geode-memcached/src/main/java/org/apache/geode/internal/memcached/KeyWrapper.java