(C#) Add ByteBuffer property to Table
authorShuhei Taunma <chobieee@gmail.com>
Tue, 10 Nov 2015 05:20:16 +0000 (14:20 +0900)
committerShuhei Taunma <chobieee@gmail.com>
Tue, 10 Nov 2015 05:32:31 +0000 (14:32 +0900)
net/FlatBuffers/Table.cs

index 1a097d3..09b0028 100644 (file)
@@ -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)