Example #1
0
 public static Offset <DictionaryBatch> CreateDictionaryBatch(FlatBufferBuilder builder,
                                                              long id = 0,
                                                              Offset <RecordBatch> dataOffset = default(Offset <RecordBatch>),
                                                              bool isDelta = false)
 {
     builder.StartObject(3);
     DictionaryBatch.AddId(builder, id);
     DictionaryBatch.AddData(builder, dataOffset);
     DictionaryBatch.AddIsDelta(builder, isDelta);
     return(DictionaryBatch.EndDictionaryBatch(builder));
 }
Example #2
0
 public static DictionaryBatch GetRootAsDictionaryBatch(ByteBuffer _bb, DictionaryBatch obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }