Searched refs:required_buffer_size (Results 1 – 1 of 1) sorted by relevance
76 size_t required_buffer_size = 14 + data_size; in NanoPacket() local77 if (packet_buffer_.size() < required_buffer_size) { in NanoPacket()78 packet_buffer_.resize(required_buffer_size); in NanoPacket()81 if (packet_content_.size() < required_buffer_size) { in NanoPacket()82 packet_content_.resize(required_buffer_size); in NanoPacket()104 uint32_t crc = Crc32(packet_buffer_.data(), required_buffer_size - 4); in NanoPacket()