Function oldnav_lib::navdata::geohash::hash_to_string
[−]
[src]
pub fn hash_to_string(geohash: u64) -> Result<String, String>
Convert an integer geohash to a string representation of the binary values
Example
let gh = hash_from_string("11101011").unwrap(); assert_eq!("11101011", hash_to_string(gh).unwrap());
let gh = hash_from_string("1111").unwrap(); assert_eq!("1111", hash_to_string(gh).unwrap());