[][src]Trait libipld_core::codec::Decode

pub trait Decode<C: Codec>: Sized {
    fn decode<R: Read>(r: &mut R) -> Result<Self, C::Error>;
}

Required methods

fn decode<R: Read>(r: &mut R) -> Result<Self, C::Error>

Decode from an impl Read.

Loading content...

Implementations on Foreign Types

impl Decode<Raw> for Box<[u8]>[src]

impl Decode<Raw> for Vec<u8>[src]

Loading content...

Implementors

impl Decode<Raw> for Ipld[src]

Loading content...