Trait cdrs::FromBytes [] [src]

pub trait FromBytes {
    fn from_bytes(_: &[u8]) -> Result<Self> where Self: Sized;
}

FromBytes should be used to parse an array of bytes into a structure.

Required Methods

It gets and array of bytes and should return an implementor struct.

Implementors