decode_session

Function decode_session 

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

Decode a session packet sent by F1 2019

The session packets by F1 2018 and F1 2019 differ only in their packet headers, the rest of the packet format is identical.