public static Offset <MasterDict> CreateMasterDict(FlatBufferBuilder builder, VectorOffset ubyteEntriesOffset = default(VectorOffset), VectorOffset byteEntriesOffset = default(VectorOffset), VectorOffset boolEntriesOffset = default(VectorOffset), VectorOffset shortEntriesOffset = default(VectorOffset), VectorOffset ushortEntriesOffset = default(VectorOffset), VectorOffset intEntriesOffset = default(VectorOffset), VectorOffset uintEntriesOffset = default(VectorOffset), VectorOffset floatEntriesOffset = default(VectorOffset), VectorOffset longEntriesOffset = default(VectorOffset), VectorOffset ulongEntriesOffset = default(VectorOffset), VectorOffset doubleEntriesOffset = default(VectorOffset), VectorOffset stringEntriesOffset = default(VectorOffset), VectorOffset enumEntriesOffset = default(VectorOffset)) { builder.StartObject(13); MasterDict.AddEnumEntries(builder, enumEntriesOffset); MasterDict.AddStringEntries(builder, stringEntriesOffset); MasterDict.AddDoubleEntries(builder, doubleEntriesOffset); MasterDict.AddUlongEntries(builder, ulongEntriesOffset); MasterDict.AddLongEntries(builder, longEntriesOffset); MasterDict.AddFloatEntries(builder, floatEntriesOffset); MasterDict.AddUintEntries(builder, uintEntriesOffset); MasterDict.AddIntEntries(builder, intEntriesOffset); MasterDict.AddUshortEntries(builder, ushortEntriesOffset); MasterDict.AddShortEntries(builder, shortEntriesOffset); MasterDict.AddBoolEntries(builder, boolEntriesOffset); MasterDict.AddByteEntries(builder, byteEntriesOffset); MasterDict.AddUbyteEntries(builder, ubyteEntriesOffset); return(MasterDict.EndMasterDict(builder)); }
public static MasterDict GetRootAsMasterDict(ByteBuffer _bb, MasterDict obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }