decode_lap_data

Function decode_lap_data 

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

Decode a lap data packet sent by F1 2019

F1 2018 and F1 2019 publish the same data in their lap data packets, but with different packet headers.