Searched refs:packet_buffer_ (Results 1 – 2 of 2) sorted by relevance
77 if (packet_buffer_.size() < required_buffer_size) { in NanoPacket()78 packet_buffer_.resize(required_buffer_size); in NanoPacket()86 packet_buffer_[0] = kSyncByte; in NanoPacket()87 packet_buffer_[1] = sequence_number; in NanoPacket()88 packet_buffer_[2] = sequence_number >> 8; in NanoPacket()89 packet_buffer_[3] = sequence_number >> 16; in NanoPacket()90 packet_buffer_[4] = sequence_number >> 24; in NanoPacket()91 packet_buffer_[5] = static_cast<uint32_t>(reason); in NanoPacket()92 packet_buffer_[6] = static_cast<uint32_t>(reason) >> 8; in NanoPacket()93 packet_buffer_[7] = static_cast<uint32_t>(reason) >> 16; in NanoPacket()[all …]
99 std::vector<uint8_t> packet_buffer_; variable