Пример #1
0
 public static Offset <CategoryMetadata> CreateCategoryMetadata(FlatBufferBuilder builder,
                                                                Offset <PrimitiveArray> levelsOffset = default(Offset <PrimitiveArray>),
                                                                bool ordered = false)
 {
     builder.StartObject(2);
     CategoryMetadata.AddLevels(builder, levelsOffset);
     CategoryMetadata.AddOrdered(builder, ordered);
     return(CategoryMetadata.EndCategoryMetadata(builder));
 }
Пример #2
0
 public static CategoryMetadata GetRootAsCategoryMetadata(ByteBuffer _bb, CategoryMetadata obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }