summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorShuhei Taunma <chobieee@gmail.com>2015-11-10 14:20:16 +0900
committerShuhei Taunma <chobieee@gmail.com>2015-11-10 14:32:31 +0900
commitb98f526b8aecf4740f59ffb0dbc9f4b6a749a2d8 (patch)
treeb2958f0266a45c2b0b93b32e267dce07dc652b8c /net
parent9dc5d378b147a6c70799810f8db0754dd89ea12e (diff)
downloadflatbuffers-b98f526b8aecf4740f59ffb0dbc9f4b6a749a2d8.tar.gz
flatbuffers-b98f526b8aecf4740f59ffb0dbc9f4b6a749a2d8.tar.bz2
flatbuffers-b98f526b8aecf4740f59ffb0dbc9f4b6a749a2d8.zip
(C#) Add ByteBuffer property to Table
Diffstat (limited to 'net')
-rw-r--r--net/FlatBuffers/Table.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/FlatBuffers/Table.cs b/net/FlatBuffers/Table.cs
index 1a097d37..09b00285 100644
--- a/net/FlatBuffers/Table.cs
+++ b/net/FlatBuffers/Table.cs
@@ -27,6 +27,8 @@ namespace FlatBuffers
protected int bb_pos;
protected ByteBuffer bb;
+ public ByteBuffer ByteBuffer { get { 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 vtableOffset)