예제 #1
0
 public static Offset <DictionaryEncoding> CreateDictionaryEncoding(FlatBufferBuilder builder,
                                                                    long id = 0,
                                                                    Offset <Int> indexTypeOffset = default(Offset <Int>),
                                                                    bool isOrdered = false)
 {
     builder.StartObject(3);
     DictionaryEncoding.AddId(builder, id);
     DictionaryEncoding.AddIndexType(builder, indexTypeOffset);
     DictionaryEncoding.AddIsOrdered(builder, isOrdered);
     return(DictionaryEncoding.EndDictionaryEncoding(builder));
 }
예제 #2
0
 public static DictionaryEncoding GetRootAsDictionaryEncoding(ByteBuffer _bb, DictionaryEncoding obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }