Lines Matching refs:BinaryWireProtobuf
83 struct BinaryWireProtobuf { struct
99 explicit BinaryWireProtobuf(char* data, size_t size) in BinaryWireProtobuf() argument
100 : BinaryWireProtobuf(reinterpret_cast<std::byte*>(data), size) { in BinaryWireProtobuf()
103 explicit BinaryWireProtobuf(std::byte* data, size_t size) { in BinaryWireProtobuf() function
110 explicit BinaryWireProtobuf(std::vector<std::byte> data) : data_{std::move(data)} { in BinaryWireProtobuf() argument
115 BinaryWireProtobuf(const BinaryWireProtobuf& other) = default;
116 BinaryWireProtobuf(BinaryWireProtobuf&& other) = default;
134 static std::optional<BinaryWireProtobuf<T>> ReadFullyFromFile(const std::string& path, argument
137 bool operator==(const BinaryWireProtobuf<T>& other) const;
138 bool operator!=(const BinaryWireProtobuf<T>& other) const {
152 using PerfettoTraceProto = BinaryWireProtobuf<::google::protobuf::MessageLite>;