I added a much longer version of this here: https://stackoverflow.com/questions/50500626/what-is-the-relation-between-length-of-data-block-and-file-length-in-varint/50503626#50503626
On Thu, 24 May 2018 at 08:33, Marc Gravell <[email protected]> wrote: > I wonder if you're decoding it incorrectly. Maybe if you could post the > bytes that you're decoding to reach this contradictory result, we can > advise you. > > On Thu, 24 May 2018 at 04:59, Ruman Ahmed Rizvi < > [email protected]> wrote: > >> When working with protocol buffers and encoding and decoding of these >> there is one issue occurred. In proto stream when decoding the file size >> and data block length in varint, the data block length is bigger than the >> file size? I am getting data block length greater than file length. >> >> -- >> 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 [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at https://groups.google.com/group/protobuf. >> For more options, visit https://groups.google.com/d/optout. >> > > > -- > Regards, > > Marc > -- Regards, Marc -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/protobuf. For more options, visit https://groups.google.com/d/optout.
