Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
fuchsia.googlesource.com-third_party-flatbuffers
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
fuchsia-mirror
fuchsia.googlesource.com-third_party-flatbuffers
Commits
6cc2307c
Commit
6cc2307c
authored
8 years ago
by
Wouter van Oortmerssen
Browse files
Options
Downloads
Patches
Plain Diff
Remove max_message_size arg, which is not passed to Deserialize func.
Change-Id: Icc7b4c1cf626f49d0529ff4f66503ea8381bf67c
parent
74c8c713
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/flatbuffers/grpc.h
+1
-3
1 addition, 3 deletions
include/flatbuffers/grpc.h
with
1 addition
and
3 deletions
include/flatbuffers/grpc.h
+
1
−
3
View file @
6cc2307c
...
...
@@ -43,9 +43,7 @@ class SerializationTraits<T, typename std::enable_if<std::is_base_of<
// There is no de-serialization step in FlatBuffers, so we just receive
// the data from GRPC.
static
grpc
::
Status
Deserialize
(
grpc_byte_buffer
*
buffer
,
T
*
msg
,
int
max_message_size
)
{
static
grpc
::
Status
Deserialize
(
grpc_byte_buffer
*
buffer
,
T
*
msg
)
{
// TODO(wvo): make this more efficient / zero copy when possible.
auto
len
=
grpc_byte_buffer_length
(
buffer
);
msg
->
buf
=
reinterpret_cast
<
uint8_t
*>
(
malloc
(
len
));
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment