Struct nachricht::Decoder [−][src]
pub struct Decoder<'a> { /* fields omitted */ }
Expand description
Used to decode nachricht
fields. This uses an internal symbol table to allow the decoding of encountered
references.
Implementations
Decode a single field from the given buffer. All strings, keys, symbols and byte data will be borrowed from the buffer instead of copied. This means that the decoded field may only live as long as the buffer does. However, some allocations still occur: containers need their own heap space.