[][src]Trait packet_crafter::AsBeBytes

pub trait AsBeBytes {
    type Output;
    fn split_to_bytes(self) -> Self::Output;
}

Converts a number to an array of its byte representation

Associated Types

type Output

Loading content...

Required methods

fn split_to_bytes(self) -> Self::Output

Loading content...

Implementations on Foreign Types

impl AsBeBytes for u16[src]

type Output = [u8; 2]

impl AsBeBytes for u32[src]

type Output = [u8; 4]

impl AsBeBytes for u64[src]

type Output = [u8; 8]

impl AsBeBytes for u8[src]

type Output = u8

Loading content...

Implementors

Loading content...