Searched refs:payload_ (Results 1 – 8 of 8) sorted by relevance
28 RawBuilder::RawBuilder(std::vector<uint8_t> vec) : payload_(std::move(vec)) {} in RawBuilder()31 if (payload_.size() + octets > max_bytes_) { in AddOctets()37 payload_.insert(payload_.end(), bytes.begin(), bytes.end()); in AddOctets()90 return payload_.size() + num_bytes <= max_bytes_; in CanAddOctets()94 for (const auto& val : payload_) { in Serialize()100 return payload_.size(); in size()
52 if (payload_.size() + N > max_bytes_) { in AddOctets()56 payload_.insert(payload_.end(), bytes.begin(), bytes.end()); in AddOctets()78 std::vector<uint8_t> payload_; variable
198 size_t payload_size = (payload_ ? payload_->size() : 0); in size()220 if (payload_) { in Serialize()221 payload_->Serialize(it); in Serialize()226 std::unique_ptr<BasePacketBuilder> payload_; member in bluetooth::packet::NestedBuilder229 …NestedBuilder(std::unique_ptr<BasePacketBuilder> inner, uint8_t level) : payload_(std::move(inner)… in NestedBuilder()
36 builder->payload_ = std::move(payload); in MakeBuilder()42 return VendorPacket::kMinSize() + payload_->size(); in size()53 log::assert_that(payload_->size() < size_t(0xFFFF), in Serialize()55 PushHeader(pkt, payload_->size()); in Serialize()58 return payload_->Serialize(pkt); in Serialize()
29 builder->payload_ = std::move(payload); in MakeBuilder()35 return BrowsePacket::kMinSize() + payload_->size(); in size()42 PushHeader(pkt, payload_->size()); in Serialize()44 return payload_->Serialize(pkt); in Serialize()
32 builder->payload_ = std::move(payload); in MakeBuilder()39 return payload_->size() + Packet::kMinSize(); in size()49 return payload_->Serialize(pkt); in Serialize()
43 std::unique_ptr<::bluetooth::PacketBuilder> payload_; variable
47 std::unique_ptr<::bluetooth::PacketBuilder> payload_; variable