public static Offset <UIHistogram> CreateUIHistogram(FlatBufferBuilder builder, UIHistogramType type = UIHistogramType.DISCRETE, uint numbins = 0, Offset <FlatArray> binrangesOffset = default(Offset <FlatArray>), Offset <FlatArray> yOffset = default(Offset <FlatArray>), VectorOffset binlabelsOffset = default(VectorOffset)) { builder.StartObject(5); UIHistogram.AddBinlabels(builder, binlabelsOffset); UIHistogram.AddY(builder, yOffset); UIHistogram.AddBinranges(builder, binrangesOffset); UIHistogram.AddNumbins(builder, numbins); UIHistogram.AddType(builder, type); return(UIHistogram.EndUIHistogram(builder)); }
public static UIHistogram GetRootAsUIHistogram(ByteBuffer _bb, UIHistogram obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }