laminar 0.5.0

A simple semi-reliable UDP protocol for multiplayer games
Documentation
1
2
3
4
5
6
7
8
/// Trait for writing a header
pub trait HeaderWriter {
    /// Associated type since we parse the header into an Output
    type Output;

    /// Writes the header to the given buffer.
    fn parse(&self, buffer: &mut Vec<u8>) -> Self::Output;
}