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
361bfb67
Commit
361bfb67
authored
May 11, 2015
by
gwvo
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #189 from pjulien/188
Issue #188
parents
3f96eead
d322eec3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Table.java
java/com/google/flatbuffers/Table.java
+1
-1
No files found.
java/com/google/flatbuffers/Table.java
View file @
361bfb67
...
@@ -45,7 +45,7 @@ public class Table {
...
@@ -45,7 +45,7 @@ public class Table {
protected
String
__string
(
int
offset
)
{
protected
String
__string
(
int
offset
)
{
offset
+=
bb
.
getInt
(
offset
);
offset
+=
bb
.
getInt
(
offset
);
if
(
bb
.
hasArray
())
{
if
(
bb
.
hasArray
())
{
return
new
String
(
bb
.
array
(),
offset
+
SIZEOF_INT
,
bb
.
getInt
(
offset
),
FlatBufferBuilder
.
utf8charset
);
return
new
String
(
bb
.
array
(),
bb
.
arrayOffset
()
+
offset
+
SIZEOF_INT
,
bb
.
getInt
(
offset
),
FlatBufferBuilder
.
utf8charset
);
}
else
{
}
else
{
// We can't access .array(), since the ByteBuffer is read-only,
// We can't access .array(), since the ByteBuffer is read-only,
// off-heap or a memory map
// off-heap or a memory map
...
...
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