According to comment in #6604, some examples for length_delimited do not fit the real behavior. This PR fix the document and add tests to the examples.
Close #6604
Solution
Fix the docs.
Swap the order of example 1 and 2 to make it more easier to understand.
Motivation
According to comment in #6604, some examples for
length_delimited
do not fit the real behavior. This PR fix the document and add tests to the examples.Close #6604
Solution
Fix the docs.
Swap the order of example 1 and 2 to make it more easier to understand.