mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-09 06:30:54 +00:00
add newly generated Java and CSharp test sources
This commit is contained in:
@@ -14,6 +14,9 @@ public struct Stat : IFlatbufferObject
|
||||
public ByteBuffer ByteBuffer { get { return __p.bb; } }
|
||||
public static Stat GetRootAsStat(ByteBuffer _bb) { return GetRootAsStat(_bb, new Stat()); }
|
||||
public static Stat GetRootAsStat(ByteBuffer _bb, Stat obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }
|
||||
public static Stat GetSizePrefixedRootAsStat(ByteBuffer _psbb) { return GetSizePrefixedRootAsStat(_psbb, new Stat()); }
|
||||
public static Stat GetSizePrefixedRootAsStat(ByteBuffer _psbb, Stat obj) { ByteBuffer _bb = _psbb.Slice(); _bb.Position = 4; return GetRootAsStat(_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 Stat __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user