Struct cbor::decoder::GenericDecoder [] [src]

pub struct GenericDecoder<R> { /* fields omitted */ }

A generic decoder decodes arbitrary CBOR into a Value AST.

Methods

impl<R: ReadBytesExt> GenericDecoder<R>
[src]

Decode into a Value, i.e. an intermediate representation which can be further deconstructed using a Cursor. This supports indefinite decoding as well as tag validation (if not disabled).