blackboxprotobuf
blackboxprotobuf copied to clipboard
No "seen_repeated" mention in typedef description
In documentation about typedefs there is nothing about "seen_repeated" parameter which is necessary to create your own typedef structure. Seems like the documentation doesn't cover everything in the typedef.
Hi! The seen_repeated field is primarily so that BBPB can track which fields might be repeated so it can be tagged correctly in a proto file export. BBPB will handle repeated fields during encoding/decoding even if the field is not set. It should not be necessary to add the field for any normal encoding/decoding functionality.
I will make a note to add it to the documentation later.