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

@@ -14,6 +14,9 @@ public struct Monster : IFlatbufferObject
public ByteBuffer ByteBuffer { get { return __p.bb; } }
public static Monster GetRootAsMonster(ByteBuffer _bb) { return GetRootAsMonster(_bb, new Monster()); }
public static Monster GetRootAsMonster(ByteBuffer _bb, Monster obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }
public static Monster GetSizePrefixedRootAsMonster(ByteBuffer _psbb) { return GetSizePrefixedRootAsMonster(_psbb, new Monster()); }
public static Monster GetSizePrefixedRootAsMonster(ByteBuffer _psbb, Monster obj) { ByteBuffer _bb = _psbb.Slice(); _bb.Position = 4; return GetRootAsMonster(_bb, obj); }
public static int GetSizePrefix(ByteBuffer _bb) { return _bb.GetInt(_bb.Position); }
public void __init(int _i, ByteBuffer _bb) { __p.bb_pos = _i; __p.bb = _bb; }
public Monster __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }