2 // automatically generated by the FlatBuffers compiler, do not modify
5 namespace Apache.Arrow.Flatbuf
9 using global::FlatBuffers;
11 internal struct Bool : IFlatbufferObject
14 public ByteBuffer ByteBuffer { get { return __p.bb; } }
15 public static Bool GetRootAsBool(ByteBuffer _bb) { return GetRootAsBool(_bb, new Bool()); }
16 public static Bool GetRootAsBool(ByteBuffer _bb, Bool obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }
17 public void __init(int _i, ByteBuffer _bb) { __p.bb_pos = _i; __p.bb = _bb; }
18 public Bool __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
21 public static void StartBool(FlatBufferBuilder builder) { builder.StartObject(0); }
22 public static Offset<Bool> EndBool(FlatBufferBuilder builder) {
23 int o = builder.EndObject();
24 return new Offset<Bool>(o);