No, protobuf does not have any resync capability. You're going to need to
wrap that yourself.

On Mon, 10 Oct 2022, 18:19 David L, <idh...@gmail.com> wrote:

> When serializing a message with SerializeDelimitedToOstream, is the
> expectation that parsing the resulting serial stream will re-sync if some
> data is lost (eg, if the serialized stream is sent over a radio modem)?
> Some preliminary testing that I did showed that parsing data after some
> lost bytes failed continuously thereafter. Is that expected? I had hoped
> that a parsing from a delimited stream would have some re-sync logic so
> only the message with the missing bytes would be lost.
>
> Thanks,
>
>          David
>
> --
> You received this message because you are subscribed to the Google Groups
> "Protocol Buffers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to protobuf+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/protobuf/f05befea-8b86-4742-bf44-4cefb2733bd8n%40googlegroups.com
> <https://groups.google.com/d/msgid/protobuf/f05befea-8b86-4742-bf44-4cefb2733bd8n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/protobuf/CAF95VAwyXry1-VfBQgZzVqGTunpY58v89wsP_BUj%3DNO0GKYMww%40mail.gmail.com.

Reply via email to