mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-15 16:57:29 +00:00
add newly generated Java and CSharp test sources
This commit is contained in:
@@ -14,6 +14,9 @@ public struct TableInC : IFlatbufferObject
|
||||
public ByteBuffer ByteBuffer { get { return __p.bb; } }
|
||||
public static TableInC GetRootAsTableInC(ByteBuffer _bb) { return GetRootAsTableInC(_bb, new TableInC()); }
|
||||
public static TableInC GetRootAsTableInC(ByteBuffer _bb, TableInC obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }
|
||||
public static TableInC GetSizePrefixedRootAsTableInC(ByteBuffer _psbb) { return GetSizePrefixedRootAsTableInC(_psbb, new TableInC()); }
|
||||
public static TableInC GetSizePrefixedRootAsTableInC(ByteBuffer _psbb, TableInC obj) { ByteBuffer _bb = _psbb.Slice(); _bb.Position = 4; return GetRootAsTableInC(_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 TableInC __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
|
||||
|
||||
|
||||
@@ -11,6 +11,9 @@ import com.google.flatbuffers.*;
|
||||
public final class TableInC extends Table {
|
||||
public static TableInC getRootAsTableInC(ByteBuffer _bb) { return getRootAsTableInC(_bb, new TableInC()); }
|
||||
public static TableInC getRootAsTableInC(ByteBuffer _bb, TableInC obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); }
|
||||
public static TableInC getSizePrefixedRootAsTableInC(ByteBuffer _psbb) { return getSizePrefixedRootAsTableInC(_psbb, new TableInC()); }
|
||||
public static TableInC getSizePrefixedRootAsTableInC(ByteBuffer _psbb, TableInC obj) { ByteBuffer _bb = _psbb.slice(); _bb.position(4); return getRootAsTableInC(_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 TableInC __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user