+ if (keys == NULL or key_length == NULL)
+ {
+ return memcached_set_error(memc, MEMCACHED_BAD_KEY_PROVIDED, MEMCACHED_AT, memcached_literal_param("Key was NULL or length of key was zero."));
+ }
+
+ const bool is_binary= memcached_flag(memc, MEMCACHED_FLAG_BINARY_PROTOCOL);
+
+ // If we don't need to verify the key, or we are using the binary protoocol,
+ // we just check the size of the key
+ for (size_t x= 0; x < number_of_keys; ++x)