mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-17 20:26:30 +00:00
add newly generated Java and CSharp test sources
This commit is contained in:
@@ -14,6 +14,9 @@ public struct TableInNestedNS : IFlatbufferObject
|
||||
public ByteBuffer ByteBuffer { get { return __p.bb; } }
|
||||
public static TableInNestedNS GetRootAsTableInNestedNS(ByteBuffer _bb) { return GetRootAsTableInNestedNS(_bb, new TableInNestedNS()); }
|
||||
public static TableInNestedNS GetRootAsTableInNestedNS(ByteBuffer _bb, TableInNestedNS obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }
|
||||
public static TableInNestedNS GetSizePrefixedRootAsTableInNestedNS(ByteBuffer _psbb) { return GetSizePrefixedRootAsTableInNestedNS(_psbb, new TableInNestedNS()); }
|
||||
public static TableInNestedNS GetSizePrefixedRootAsTableInNestedNS(ByteBuffer _psbb, TableInNestedNS obj) { ByteBuffer _bb = _psbb.Slice(); _bb.Position = 4; return GetRootAsTableInNestedNS(_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 TableInNestedNS __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
|
||||
|
||||
|
||||
@@ -11,6 +11,9 @@ import com.google.flatbuffers.*;
|
||||
public final class TableInNestedNS extends Table {
|
||||
public static TableInNestedNS getRootAsTableInNestedNS(ByteBuffer _bb) { return getRootAsTableInNestedNS(_bb, new TableInNestedNS()); }
|
||||
public static TableInNestedNS getRootAsTableInNestedNS(ByteBuffer _bb, TableInNestedNS obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); }
|
||||
public static TableInNestedNS getSizePrefixedRootAsTableInNestedNS(ByteBuffer _psbb) { return getSizePrefixedRootAsTableInNestedNS(_psbb, new TableInNestedNS()); }
|
||||
public static TableInNestedNS getSizePrefixedRootAsTableInNestedNS(ByteBuffer _psbb, TableInNestedNS obj) { ByteBuffer _bb = _psbb.slice(); _bb.position(4); return getRootAsTableInNestedNS(_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 TableInNestedNS __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
|
||||
|
||||
|
||||
@@ -14,6 +14,9 @@ public struct SecondTableInA : IFlatbufferObject
|
||||
public ByteBuffer ByteBuffer { get { return __p.bb; } }
|
||||
public static SecondTableInA GetRootAsSecondTableInA(ByteBuffer _bb) { return GetRootAsSecondTableInA(_bb, new SecondTableInA()); }
|
||||
public static SecondTableInA GetRootAsSecondTableInA(ByteBuffer _bb, SecondTableInA obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }
|
||||
public static SecondTableInA GetSizePrefixedRootAsSecondTableInA(ByteBuffer _psbb) { return GetSizePrefixedRootAsSecondTableInA(_psbb, new SecondTableInA()); }
|
||||
public static SecondTableInA GetSizePrefixedRootAsSecondTableInA(ByteBuffer _psbb, SecondTableInA obj) { ByteBuffer _bb = _psbb.Slice(); _bb.Position = 4; return GetRootAsSecondTableInA(_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 SecondTableInA __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
|
||||
|
||||
|
||||
@@ -11,6 +11,9 @@ import com.google.flatbuffers.*;
|
||||
public final class SecondTableInA extends Table {
|
||||
public static SecondTableInA getRootAsSecondTableInA(ByteBuffer _bb) { return getRootAsSecondTableInA(_bb, new SecondTableInA()); }
|
||||
public static SecondTableInA getRootAsSecondTableInA(ByteBuffer _bb, SecondTableInA obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); }
|
||||
public static SecondTableInA getSizePrefixedRootAsSecondTableInA(ByteBuffer _psbb) { return getSizePrefixedRootAsSecondTableInA(_psbb, new SecondTableInA()); }
|
||||
public static SecondTableInA getSizePrefixedRootAsSecondTableInA(ByteBuffer _psbb, SecondTableInA obj) { ByteBuffer _bb = _psbb.slice(); _bb.position(4); return getRootAsSecondTableInA(_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 SecondTableInA __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
|
||||
|
||||
|
||||
@@ -14,6 +14,9 @@ public struct TableInFirstNS : IFlatbufferObject
|
||||
public ByteBuffer ByteBuffer { get { return __p.bb; } }
|
||||
public static TableInFirstNS GetRootAsTableInFirstNS(ByteBuffer _bb) { return GetRootAsTableInFirstNS(_bb, new TableInFirstNS()); }
|
||||
public static TableInFirstNS GetRootAsTableInFirstNS(ByteBuffer _bb, TableInFirstNS obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }
|
||||
public static TableInFirstNS GetSizePrefixedRootAsTableInFirstNS(ByteBuffer _psbb) { return GetSizePrefixedRootAsTableInFirstNS(_psbb, new TableInFirstNS()); }
|
||||
public static TableInFirstNS GetSizePrefixedRootAsTableInFirstNS(ByteBuffer _psbb, TableInFirstNS obj) { ByteBuffer _bb = _psbb.Slice(); _bb.Position = 4; return GetRootAsTableInFirstNS(_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 TableInFirstNS __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
|
||||
|
||||
|
||||
@@ -11,6 +11,9 @@ import com.google.flatbuffers.*;
|
||||
public final class TableInFirstNS extends Table {
|
||||
public static TableInFirstNS getRootAsTableInFirstNS(ByteBuffer _bb) { return getRootAsTableInFirstNS(_bb, new TableInFirstNS()); }
|
||||
public static TableInFirstNS getRootAsTableInFirstNS(ByteBuffer _bb, TableInFirstNS obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); }
|
||||
public static TableInFirstNS getSizePrefixedRootAsTableInFirstNS(ByteBuffer _psbb) { return getSizePrefixedRootAsTableInFirstNS(_psbb, new TableInFirstNS()); }
|
||||
public static TableInFirstNS getSizePrefixedRootAsTableInFirstNS(ByteBuffer _psbb, TableInFirstNS obj) { ByteBuffer _bb = _psbb.slice(); _bb.position(4); return getRootAsTableInFirstNS(_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 TableInFirstNS __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user