Searched refs:PackHead (Results 1 – 7 of 7) sorted by relevance
44 constexpr size_t headSize = sizeof(PackHead); in OnReadPackets()53 PackHead *head = reinterpret_cast<PackHead *>(buf); in OnReadPackets()
65 return (static_cast<int32_t>(sizeof(PackHead)) + StreamBufferGetWpos(streamBufferPtr_.get())); in GetPacketLength()67 return sizeof(PackHead) + wPos_; in GetPacketLength()
29 pub(crate) struct PackHead { struct100 size_of::<PackHead>() + self.stream_buffer.w_pos in get_packet_length()103 let head = PackHead { in make_data()
22 using PACKHEAD = struct PackHead { struct42 return (static_cast<int32_t>(sizeof(PackHead)) + wPos_); in GetPacketLength()
82 constexpr int32_t headSize = static_cast<int32_t>(sizeof(PackHead)); in OnReadPackets()91 PackHead *head = reinterpret_cast<PackHead *>(buf); in OnReadPackets()
23 using PACKHEAD = struct PackHead { struct
24 use net_packet::{NetPacket, CNetPacket, PackHead};274 const HEAD_SIZE: usize = size_of::<PackHead>(); in read_client_packets()286 let head: *const PackHead = buf as *const PackHead; in read_client_packets() constant