[][src]Function base32h::decode_string

pub fn decode_string(data: &str) -> Option<u128>

Returns a Option of a base32h encoded number Return None if the length of the base32h string is greater than 25 bytes

Arguments

  • data - string slice to decode

Examples

use base32h::{decode_string};
assert_eq!(decode_string("3zZzZzZ"), Some(4294967295));