Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
B
brpc
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
brpc
Commits
727dd4cd
Commit
727dd4cd
authored
May 14, 2019
by
gejun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor change to the comment
parent
cb998b9e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
recordio.h
src/butil/recordio.h
+2
-2
No files found.
src/butil/recordio.h
View file @
727dd4cd
...
...
@@ -23,7 +23,7 @@
namespace
butil
{
//
One Payload + Zero or
multiple Metas.
//
0-or-1 Payload + 0-or-
multiple Metas.
// Payload and metas are often serialized form of protobuf messages. As a
// correspondence, the implementation is not optimized for very small blobs,
// which should be batched properly before inserting(e.g. using repeated
...
...
@@ -60,7 +60,7 @@ public:
// Returns true on erased, false on absent.
bool
RemoveMeta
(
const
butil
::
StringPiece
&
name
);
// Get the payload.
// Get the payload.
Empty by default.
const
butil
::
IOBuf
&
Payload
()
const
{
return
_payload
;
}
// Get a mutable pointer to the payload.
...
...
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