pub trait Octets {
    type Output;

    fn octets(&self) -> Self::Output;
}
Expand description

Convert a value to a byte array.

Required Associated Types

Output type - bytes array.

Required Methods

Return a value as bytes (big-endian order).

Implementations on Foreign Types

Implementors