decode_nineteen

Function decode_nineteen 

Source
pub fn decode_nineteen(
    cursor: &mut Cursor<&mut BytesMut>,
) -> Result<Packet, Error>
Expand description

Decode a packet sent by F1 2019

F1 2019 defines its own API specification that is implemented in the nineteen module. For each packet type defined in the API specification, a decoder function exists that maps the packet from F1 2019 to the unified packet format of this crate.