pub fn decode(input: &[u8]) -> Result<(Value, usize), String>Expand description
Decode one item from the front of input; returns it and how many bytes
it took. Trailing bytes are the caller’s business (authenticator data
carries extensions after the credential key).