Commit 09e0dbcf authored by Jisi Liu's avatar Jisi Liu Committed by GitHub

Merge pull request #3743 from Schtolc/master

CodedInputStream::SetTotalBytesLimit description fix
parents 2a142140 38fd94e1
......@@ -396,9 +396,9 @@ class LIBPROTOBUF_EXPORT CodedInputStream {
// Message::ParseFromString(). In this case, you will need to change
// your code to instead construct some sort of ZeroCopyInputStream
// (e.g. an ArrayInputStream), construct a CodedInputStream around
// that, then call Message::ParseFromCodedStream() instead. Then
// you can adjust the limit. Yes, it's more work, but you're doing
// something unusual.
// that, then you can adjust the limit. Then call
// Message::ParseFromCodedStream() instead. Yes, it's more work, but
// you're doing something unusual.
void SetTotalBytesLimit(int total_bytes_limit, int warning_threshold);
// The Total Bytes Limit minus the Current Position, or -1 if there
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment