An object that represents a parsed string field or an error code.
The string value is accessible via a stream::IntervalReader returned by GetBytesReader().
Message.message.h are deprecated.
Public Member Functions | |
| Result< bool > | Equal (std::string_view str) |
Checks whether the string value exactly equals the given str. | |
| Bytes ()=default | |
| Bytes (Status status) | |
| Bytes (stream::IntervalReader reader) | |
Public Member Functions inherited from pw::protobuf::Bytes | |
| Bytes (Status status) | |
| Bytes (stream::IntervalReader reader) | |
| stream::IntervalReader | GetBytesReader () |
| bool | ok () |
| Status | status () |
| Result< bool > | Equal (ConstByteSpan bytes) |
Checks whether the bytes value exactly equals the given bytes. | |