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
6b2fc3c2
Commit
6b2fc3c2
authored
Aug 23, 2019
by
Joshua Haberman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed ByteCountInt64. This is a transitional typedef that should not be released.
parent
f8a2deaf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
zero_copy_stream.h
src/google/protobuf/io/zero_copy_stream.h
+2
-6
No files found.
src/google/protobuf/io/zero_copy_stream.h
View file @
6b2fc3c2
...
...
@@ -117,10 +117,6 @@ namespace google {
namespace
protobuf
{
namespace
io
{
// TODO(b/136291652): remove once we have switched the default to int64_t and
// updated everyone who derives from this class.
using
ByteCountInt64
=
int64_t
;
// Defined in this file.
class
ZeroCopyInputStream
;
class
ZeroCopyOutputStream
;
...
...
@@ -175,7 +171,7 @@ class PROTOBUF_EXPORT ZeroCopyInputStream {
virtual
bool
Skip
(
int
count
)
=
0
;
// Returns the total number of bytes read since this object was created.
virtual
ByteCountInt64
ByteCount
()
const
=
0
;
virtual
int64_t
ByteCount
()
const
=
0
;
private
:
...
...
@@ -230,7 +226,7 @@ class PROTOBUF_EXPORT ZeroCopyOutputStream {
virtual
void
BackUp
(
int
count
)
=
0
;
// Returns the total number of bytes written since this object was created.
virtual
ByteCountInt64
ByteCount
()
const
=
0
;
virtual
int64_t
ByteCount
()
const
=
0
;
// Write a given chunk of data to the output. Some output streams may
// implement this in a way that avoids copying. Check AllowsAliasing() before
...
...
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