Trait perlin::storage::ByteDecodable [] [src]

pub trait ByteDecodable where
    Self: Sized
{ fn decode<TIterator: Iterator<Item = u8>>(
        bytes: TIterator
    ) -> Result<Self, String>; }

Defines a method that allows an object to be decoded from a variable number of bytes

Required Methods

Decodes an object from a byte iterator

Implementors