diff options
Diffstat (limited to 'examples/using_union_messages/README.txt')
-rw-r--r-- | examples/using_union_messages/README.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/using_union_messages/README.txt b/examples/using_union_messages/README.txt index 7a1e75d..d4b7fd2 100644 --- a/examples/using_union_messages/README.txt +++ b/examples/using_union_messages/README.txt @@ -17,6 +17,9 @@ we actually want. Similarly when decoding, we can manually read the tag of the top level message, and only then allocate the memory for the submessage after we already know its type. +NOTE: There is a newer protobuf feature called `oneof` that is also supported +by nanopb. It might be a better option for new code. + Example usage ------------- |