add newly generated Java and CSharp test sources

This commit is contained in:
Robert Schmidtke
2017-10-02 10:46:57 +02:00
parent 18353a4ee5
commit a5e25dc2ad
20 changed files with 62 additions and 0 deletions

View File

@@ -11,6 +11,9 @@ import com.google.flatbuffers.*;
public final class TestSimpleTableWithEnum extends Table {
public static TestSimpleTableWithEnum getRootAsTestSimpleTableWithEnum(ByteBuffer _bb) { return getRootAsTestSimpleTableWithEnum(_bb, new TestSimpleTableWithEnum()); }
public static TestSimpleTableWithEnum getRootAsTestSimpleTableWithEnum(ByteBuffer _bb, TestSimpleTableWithEnum obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); }
public static TestSimpleTableWithEnum getSizePrefixedRootAsTestSimpleTableWithEnum(ByteBuffer _psbb) { return getSizePrefixedRootAsTestSimpleTableWithEnum(_psbb, new TestSimpleTableWithEnum()); }
public static TestSimpleTableWithEnum getSizePrefixedRootAsTestSimpleTableWithEnum(ByteBuffer _psbb, TestSimpleTableWithEnum obj) { ByteBuffer _bb = _psbb.slice(); _bb.position(4); return getRootAsTestSimpleTableWithEnum(_bb, obj); }
public static int getSizePrefix(ByteBuffer _bb) { _bb.order(ByteOrder.LITTLE_ENDIAN); return _bb.getInt(_bb.position()); }
public void __init(int _i, ByteBuffer _bb) { bb_pos = _i; bb = _bb; }
public TestSimpleTableWithEnum __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }