Skip to main content

decode_bitstring

Function decode_bitstring 

Source
pub fn decode_bitstring(encoded: &str) -> Result<Vec<u8>>
Expand description

Decode an encodedList under the strict profile: the multibase prefix ā€˜u’ followed by base64url with no padding and canonical trailing bits, holding exactly one gzip member and nothing after it, which decompresses to at most 16 MiB and to at least 131,072 bits.