mirror of
https://github.com/vee1e/flatbuffers.git
synced 2026-09-01 17:57:25 +00:00
Java: Allow access to the underlying ByteBuffer from a table.
Change-Id: Id268e35de207c25c809a09071b81eea873c9123e Tested: on Linux.
This commit is contained in:
parent
36f9b1ec91
commit
fbe085601b
1 changed files with 2 additions and 0 deletions
|
|
@ -25,6 +25,8 @@ public class Table {
|
|||
protected int bb_pos;
|
||||
protected ByteBuffer bb;
|
||||
|
||||
public ByteBuffer getByteBuffer() { return bb; }
|
||||
|
||||
// Look up a field in the vtable, return an offset into the object, or 0 if the field is not
|
||||
// present.
|
||||
protected int __offset(int vtable_offset) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue