Trait Decode
libipld_core::codec
pub trait Decode<C: Codec>: Sized { fn decode<R: Read>(r: &mut R) -> Result<Self, C::Error>; }
fn decode<R: Read>(r: &mut R) -> Result<Self, C::Error>
Decode from an impl Read.
impl Read
impl Decode<Raw> for Box<[u8]>
fn decode<R: Read>(r: &mut R) -> Result<Self, RawError>
impl Decode<Raw> for Vec<u8>
impl Decode<Raw> for Ipld