msnp11-sdk 0.12.0

An MSNP11 client SDK
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use deku::{DekuRead, DekuWrite};

#[derive(Debug, PartialEq, DekuRead, DekuWrite)]
#[deku(endian = "little")]
pub struct BinaryHeader {
    pub session_id: u32,
    pub identifier: u32,
    pub data_offset: u64,
    pub total_data_size: u64,
    pub length: u32,
    pub flag: u32,
    pub ack_identifier: u32,
    pub ack_unique_id: u32,
    pub ack_data_size: u64,
}