public static String byteToHex(byte b) {
    // Returns hex String representation of byte b
    char[] hexDigit =
        {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f'};
    char[] array = {hexDigit[(b >> 4) & 0x0f], hexDigit[b & 0x0f]};
    return "0x" + new String(array);
  }
Returns a command processor to process the given {@link Command}

@return a command processor
geode-memcached/src/main/java/org/apache/geode/internal/memcached/Command.java