pub fn encode_bitstring(bits: &[u8]) -> Result<String>Expand description
Encode a raw bitstring to the multibase GZIP form (issuer side): one gzip
member with the fixed header above, a level-9 deflate body written exactly
as zlib writes it (see crate::zdeflate), and the CRC-32 and size. Every
SDK encodes through this function, so the same bits always give the same
encodedList, the one the shared vector pins.