| // <auto-generated> |
| // automatically generated by the FlatBuffers compiler, do not modify |
| // </auto-generated> |
| |
| namespace Apache.Arrow.Flatbuf |
| { |
| |
| using global::System; |
| using global::System.Collections.Generic; |
| using global::Google.FlatBuffers; |
| |
| /// Represents the same logical types that List can, but contains offsets and |
| /// sizes allowing for writes in any order and sharing of child values among |
| /// list values. |
| internal struct ListView : IFlatbufferObject |
| { |
| private Table __p; |
| public ByteBuffer ByteBuffer { get { return __p.bb; } } |
| public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_23_5_9(); } |
| public static ListView GetRootAsListView(ByteBuffer _bb) { return GetRootAsListView(_bb, new ListView()); } |
| public static ListView GetRootAsListView(ByteBuffer _bb, ListView obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); } |
| public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } |
| public ListView __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } |
| |
| |
| public static void StartListView(FlatBufferBuilder builder) { builder.StartTable(0); } |
| public static Offset<ListView> EndListView(FlatBufferBuilder builder) { |
| int o = builder.EndTable(); |
| return new Offset<ListView>(o); |
| } |
| } |
| |
| |
| static internal class ListViewVerify |
| { |
| static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos) |
| { |
| return verifier.VerifyTableStart(tablePos) |
| && verifier.VerifyTableEnd(tablePos); |
| } |
| } |
| |
| } |