Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
09e0dbcf
Commit
09e0dbcf
authored
Oct 19, 2017
by
Jisi Liu
Committed by
GitHub
Oct 19, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3743 from Schtolc/master
CodedInputStream::SetTotalBytesLimit description fix
parents
2a142140
38fd94e1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
coded_stream.h
src/google/protobuf/io/coded_stream.h
+3
-3
No files found.
src/google/protobuf/io/coded_stream.h
View file @
09e0dbcf
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment