pub trait PacketWrite {
    fn write_byte(&mut self, byte: u8) -> Result<(), Error>;
    fn write_bytes(&mut self, bytes: &[u8]) -> Result<(), Error>;
    fn write_bytes_owned(&mut self, bytes: Vec<u8>) -> Result<(), Error>;
    fn write_bytes_fixed<const SIZE: usize>(
        &mut self,
        bytes: [u8; SIZE]
    ) -> Result<(), Error>; }

Required Methods

Implementations on Foreign Types

Implementors