Exemple #1
0
 public static Offset <PulseKeyFrameData_Int16> CreatePulseKeyFrameData_Int16(FlatBufferBuilder builder,
                                                                              int time    = 0,
                                                                              short value = 0)
 {
     builder.StartObject(2);
     PulseKeyFrameData_Int16.AddTime(builder, time);
     PulseKeyFrameData_Int16.AddValue(builder, value);
     return(PulseKeyFrameData_Int16.EndPulseKeyFrameData_Int16(builder));
 }
 public static PulseKeyFrameData_Int16 GetRootAsPulseKeyFrameData_Int16(ByteBuffer _bb, PulseKeyFrameData_Int16 obj)
 {
     return (obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }
Exemple #3
0
 public static PulseKeyFrameData_Int16 GetRootAsPulseKeyFrameData_Int16(ByteBuffer _bb, PulseKeyFrameData_Int16 obj)
 {
     return(obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }