EmbeddedProto
EmbeddedProto copied to clipboard
Embedded Proto is a C++ Protocol Buffers implementation specifically suitable for microcontrollers. It is small, reliable and easy to use.
I noticed that the header file for the embedded output does not provide DebugString() to provide a human-readable form for debugging purposes. Do you have any recommendations on how this...
I have a question regarding how this library defines out-of-bound access on a FieldBytes. # Scenario 1 https://github.com/Embedded-AMS/EmbeddedProto/blob/3fe792288b289f24c2789ece31e36dd25668d8cb/test/test_string_bytes.cpp#L281 If `msg` was cleared, the length is set to zero, then accessing...
- Ignore bytes after `current_length_` to improve speed - Prefer early returns for flatter hierarchy and clearer control flow
_const rvalue reference_ doesn't give any advantages over the copy constructor, so there is no need of defining it, as an _rvalue_ can also be used as a _const lvalue_....
Hi, i'm using gcc (13.2.1 but shouldn't matter) with additional warnings enabled: `-Wall -Wextra -Wdouble-promotion ` ### float fields With messages containing **float** fields, the following warning(s) are produced in...
These changes make the protobuf code generation and build steps all managed by cmake, no additional steps are necessary. Dependent projects can 1. add this as a subdirectory, or use...
Hi Bart, I realized that the `mutable_*` methods are not available only for enum fields. Is there any reason behind it, or is it simply missing? Thanks.