Labels: Type-Defect Priority-Medium
New issue 243 by john.carrino: Improve mergeDelimitedFrom in the java Impl
to setSizeLimit on the CodedInputStream
CodedInputStream defaults to 64MB size limit. For buffers rendered with
writeDelimited, there is no public api way to process it if it is above
If I could create a CodedInputStream and set it's size and call merge, that
would work for me, but I don't have access to
So since readRawVarint32 isn't public, another alternative is to modify
AbstractMessageLite$Builder.mergeDelimitedFrom to create a codedInputStream
and call setSizeLimit on it with the raw size.
This makes sense because we are merging something delimited with a known
size, that size happens to be over the codedStream default, but we knew
that going into it.
You received this message because you are subscribed to the Google Groups "Protocol
To post to this group, send email to proto...@googlegroups.com.
To unsubscribe from this group, send email to
For more options, visit this group at