Searched defs:PayloadHead (Results 1 – 6 of 6) sorted by relevance
37 pub struct PayloadHead { struct38 pub flag: [u8; 2],39 pub reserve: [u8; 2],40 pub protocol_ver: u8,41 pub head_size: u16,42 pub data_size: u32,
31 pub fn unpack_payload_head(data: Vec<u8>) -> io::Result<native_struct::PayloadHead> { in unpack_payload_head()
326 impl Serialization for PayloadHead { implementation
135 struct PayloadHead { struct136 uint8_t flag[2];137 uint8_t reserve[2]; // encrypt'flag or others options138 uint8_t protocolVer;139 uint16_t headSize;140 uint32_t dataSize;
138 struct PayloadHead { struct139 uint8_t flag[2];140 uint8_t reserve[2]; // encrypt'flag or others options141 uint8_t protocolVer;142 uint16_t headSize;143 uint32_t data_size;
18 export class PayloadHead extends Object implements BaseBean { class