Trait perlin::storage::ByteEncodable [] [src]

pub trait ByteEncodable {
    fn encode(&self) -> Vec<u8>;
}

Defines a method that allows an object to be encoded as a variable number of bytes

Required Methods

Encodes the object as a vector of bytes

Implementors