pub fn decode_b64_json<T>(data: impl AsRef<[u8]>) -> Result<T>where
T: DeserializeOwned,
Expand description
Decode the given url-safe base64-encoded slice into its raw bytes and try to deserialize it into T
.
pub fn decode_b64_json<T>(data: impl AsRef<[u8]>) -> Result<T>where
T: DeserializeOwned,
Decode the given url-safe base64-encoded slice into its raw bytes and try to deserialize it into T
.