Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
flatbuffers
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
flatbuffers
Commits
15bf6261
Commit
15bf6261
authored
Mar 08, 2017
by
Hadriel Kaplan
Committed by
Wouter van Oortmerssen
Mar 08, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a backwards-compatible version of VerifyBuffer() (#4201)
parent
ac106e83
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
flatbuffers.h
include/flatbuffers/flatbuffers.h
+4
-0
No files found.
include/flatbuffers/flatbuffers.h
View file @
15bf6261
...
...
@@ -1487,6 +1487,10 @@ class Verifier FLATBUFFERS_FINAL_CLASS {
}
// Verify this whole buffer, starting with root type T.
template
<
typename
T
>
bool
VerifyBuffer
()
{
return
VerifyBuffer
<
T
>
(
nullptr
);
}
template
<
typename
T
>
bool
VerifyBuffer
(
const
char
*
identifier
)
{
return
VerifyBufferFromStart
<
T
>
(
identifier
,
buf_
);
}
...
...
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