Trait pnet_packet::util::Octets[][src]

pub trait Octets {
    type Output;
    fn octets(&self) -> Self::Output;
}
Expand description

Convert a value to a byte array.

Associated Types

Output type - bytes array.

Required methods

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

Implementations on Foreign Types

Implementors