Trait bancho_packets::BanchoPacketWrite
source · pub trait BanchoPacketWrite {
fn write_buf(self, buf: &mut Vec<u8>);
fn as_packet(self) -> Vec<u8>
where
Self: Sized,
{ ... }
}Expand description
BanchoPacketWrite is a trait used to convert rust internal data types to bancho packets (Vec<u8>).