diff --git a/java/com/google/flatbuffers/Table.java b/java/com/google/flatbuffers/Table.java index 1f7ae418c..c4a93756e 100644 --- a/java/com/google/flatbuffers/Table.java +++ b/java/com/google/flatbuffers/Table.java @@ -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) {