public static Offset <FlatProperties> CreateFlatProperties(FlatBufferBuilder builder, StringOffset nameOffset = default(StringOffset), VectorOffset iOffset = default(VectorOffset), VectorOffset lOffset = default(VectorOffset), VectorOffset dOffset = default(VectorOffset), VectorOffset aOffset = default(VectorOffset), VectorOffset bOffset = default(VectorOffset), VectorOffset sOffset = default(VectorOffset), VectorOffset shapeOffset = default(VectorOffset)) { builder.StartObject(8); FlatProperties.AddShape(builder, shapeOffset); FlatProperties.AddS(builder, sOffset); FlatProperties.AddB(builder, bOffset); FlatProperties.AddA(builder, aOffset); FlatProperties.AddD(builder, dOffset); FlatProperties.AddL(builder, lOffset); FlatProperties.AddI(builder, iOffset); FlatProperties.AddName(builder, nameOffset); return(FlatProperties.EndFlatProperties(builder)); }
public static FlatProperties GetRootAsFlatProperties(ByteBuffer _bb, FlatProperties obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }