From 38fd94e184dfae01171a11fa1b7bb82ac9a72583 Mon Sep 17 00:00:00 2001 From: Pavel Date: Thu, 12 Oct 2017 15:00:01 +0300 Subject: CodedInputStream::SetTotalBytesLimit description fix --- src/google/protobuf/io/coded_stream.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/google/protobuf/io') diff --git a/src/google/protobuf/io/coded_stream.h b/src/google/protobuf/io/coded_stream.h index 59db8ce1..126fc62a 100644 --- a/src/google/protobuf/io/coded_stream.h +++ b/src/google/protobuf/io/coded_stream.h @@ -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 -- cgit v1.2.3