darkfi::util::encoding::base64

Function decode

Source
pub fn decode(data: &str) -> Option<Vec<u8>>
Expand description

Tries to decode a base64 string into a byte vector. Returns None if something fails.