public static Offset <CategoriesData> CreateCategoriesData(FlatBufferBuilder builder, StringOffset categoryOffset = default(StringOffset), int weight = 0, StringOffset groupOffset = default(StringOffset)) { builder.StartObject(3); CategoriesData.AddGroup(builder, groupOffset); CategoriesData.AddWeight(builder, weight); CategoriesData.AddCategory(builder, categoryOffset); return(CategoriesData.EndCategoriesData(builder)); }
public static CategoriesData GetRootAsCategoriesData(ByteBuffer _bb, CategoriesData obj) { return(obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }
public CategoriesData GetCategories(CategoriesData obj, int j) { int o = __offset(4); return(o != 0 ? obj.__init(__indirect(__vector(o) + j * 4), bb) : null); }