| // <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; |
| |
| /// Contains two child arrays, run_ends and values. |
| /// The run_ends child array must be a 16/32/64-bit integer array |
| /// which encodes the indices at which the run with the value in |
| /// each corresponding index in the values child array ends. |
| /// Like list/struct types, the value array can be of any type. |
| internal struct RunEndEncoded : IFlatbufferObject |
| { |
| private Table __p; |
| public ByteBuffer ByteBuffer { get { return __p.bb; } } |
| public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_23_5_9(); } |
| public static RunEndEncoded GetRootAsRunEndEncoded(ByteBuffer _bb) { return GetRootAsRunEndEncoded(_bb, new RunEndEncoded()); } |
| public static RunEndEncoded GetRootAsRunEndEncoded(ByteBuffer _bb, RunEndEncoded obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); } |
| public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); } |
| public RunEndEncoded __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } |
| |
| |
| public static void StartRunEndEncoded(FlatBufferBuilder builder) { builder.StartTable(0); } |
| public static Offset<RunEndEncoded> EndRunEndEncoded(FlatBufferBuilder builder) { |
| int o = builder.EndTable(); |
| return new Offset<RunEndEncoded>(o); |
| } |
| } |
| |
| |
| static internal class RunEndEncodedVerify |
| { |
| static public bool Verify(Google.FlatBuffers.Verifier verifier, uint tablePos) |
| { |
| return verifier.VerifyTableStart(tablePos) |
| && verifier.VerifyTableEnd(tablePos); |
| } |
| } |
| |
| } |