Namespace of Kyoto Cabinet.
The version information
Convert a string to a real number.
@param str the string.
@return the real number. If the string does not contain numeric expression, 0.0 is returned.
# File kyotocabinet.rb, line 42 def atof(str) # (native code) end
Convert a string to an integer.
@param str the string.
@return the integer. If the string does not contain numeric expression, 0 is returned.
# File kyotocabinet.rb, line 30 def atoi(str) # (native code) end
Convert a string with a metric prefix to an integer.
@param str the string, which can be trailed by a binary metric prefix. "K", "M", "G", "T", "P", and "E" are supported. They are case-insensitive.
@return the integer. If the string does not contain numeric expression, 0 is returned. If the integer overflows the domain, INT64_MAX or INT64_MIN is returned according to the sign.
# File kyotocabinet.rb, line 36 def atoix(str) # (native code) end
Convert any object to a string.
@param obj the object.
@return the result string.
# File kyotocabinet.rb, line 24 def conv_str(obj) # (native code) end
Get the hash value of a string by FNV hashing.
@param str the string.
@return the hash value.
# File kyotocabinet.rb, line 54 def hash_fnv(str) # (native code) end
Generated with the Darkfish Rdoc Generator 2.