template <proto_utils::ProtoWireType wire_type, typename CppType>
class PackedRepeatedFieldIterator
Defined at line 179 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_tsize,bool *parse_error_ptr)
Defined at line 181 of file ../../third_party/perfetto/include/perfetto/protozero/proto_decoder.h
const CppType operator* ()
Defined at line 213 of file ../../third_party/perfetto/include/perfetto/protozero/proto_decoder.h
bool operator bool ()
Defined at line 214 of file ../../third_party/perfetto/include/perfetto/protozero/proto_decoder.h
PackedRepeatedFieldIterator<wire_type, CppType> & operator++ ()
Defined at line 216 of file ../../third_party/perfetto/include/perfetto/protozero/proto_decoder.h
PackedRepeatedFieldIterator<wire_type, CppType> operator++ (int )
Defined at line 252 of file ../../third_party/perfetto/include/perfetto/protozero/proto_decoder.h