pub fn decode(nibbles: &[u8], mem: &dyn Memory) -> Result<Object, DecodeError>Expand description
Decode the object at the start of nibbles. An object the walk does
not understand becomes Object::Unknown with all of nibbles; the
errors are a missing prolog and a decode budget run out
(DecodeError::is_budget), their offsets into nibbles.