diff options
author | Pavel <pavelgolubev345@gmail.com> | 2017-10-12 15:00:01 +0300 |
---|---|---|
committer | Pavel <pavelgolubev345@gmail.com> | 2017-10-12 15:00:19 +0300 |
commit | 38fd94e184dfae01171a11fa1b7bb82ac9a72583 (patch) | |
tree | 8f0208e1ed34d21914951f13936595e2ffed5987 /src/google | |
parent | c4083bb3d1231f8a94f2f000434e38528bdff64a (diff) | |
download | protobuf-38fd94e184dfae01171a11fa1b7bb82ac9a72583.tar.gz protobuf-38fd94e184dfae01171a11fa1b7bb82ac9a72583.tar.bz2 protobuf-38fd94e184dfae01171a11fa1b7bb82ac9a72583.zip |
CodedInputStream::SetTotalBytesLimit description fix
Diffstat (limited to 'src/google')
-rw-r--r-- | src/google/protobuf/io/coded_stream.h | 6 |
1 files changed, 3 insertions, 3 deletions
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 |