template <proto_utils::ProtoWireType wire_type, typename CppType>
class PackedRepeatedFieldIterator
Defined at line 178 of file ../../third_party/perfetto/include/perfetto/protozero/proto_decoder.h
As RepeatedFieldIterator, but allows iterating over a packed repeated field
(which will be initially stored as a single length-delimited field).
See |GetPackedRepeatedField| for details.
Assumes little endianness, and that the input buffers are well formed -
containing an exact multiple of encoded elements.
Public Methods
void PackedRepeatedFieldIterator<wire_type, CppType> (const uint8_t * data_begin, size_t size, bool * parse_error_ptr)
Defined at line 180 of file ../../third_party/perfetto/include/perfetto/protozero/proto_decoder.h
const CppType operator* ()
Defined at line 212 of file ../../third_party/perfetto/include/perfetto/protozero/proto_decoder.h
bool operator bool ()
Defined at line 213 of file ../../third_party/perfetto/include/perfetto/protozero/proto_decoder.h
PackedRepeatedFieldIterator<wire_type, CppType> & operator++ ()
Defined at line 215 of file ../../third_party/perfetto/include/perfetto/protozero/proto_decoder.h
PackedRepeatedFieldIterator<wire_type, CppType> operator++ (int )
Defined at line 251 of file ../../third_party/perfetto/include/perfetto/protozero/proto_decoder.h