Function mpl_token_metadata::utils::zero_account
source · pub fn zero_account(s: &str, size: usize) -> String
Expand description
Pads the string to the desired size with 0u8
s.
NOTE: it is assumed that the string’s size is never larger than the given size.