Trait libipld_cbor::decode::TryReadCbor [−][src]
TryReadCbor
trait.
Required methods
fn try_read_cbor<R: Read + Seek>(r: &mut R, major: u8) -> Result<Option<Self>>
[src]
Takes the read major code and tries to parse from a byte stream. If parsing fails the byte stream must not be advanced.