Esempio n. 1
0
 public static Offset <FloatingPoint> CreateFloatingPoint(FlatBufferBuilder builder,
                                                          Precision precision = Precision.HALF)
 {
     builder.StartObject(1);
     FloatingPoint.AddPrecision(builder, precision);
     return(FloatingPoint.EndFloatingPoint(builder));
 }
Esempio n. 2
0
 public static FloatingPoint GetRootAsFloatingPoint(ByteBuffer _bb, FloatingPoint obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }