Example #1
0
 public static Offset <TimeMetadata> CreateTimeMetadata(FlatBufferBuilder builder,
                                                        TimeUnit unit = TimeUnit.SECOND)
 {
     builder.StartObject(1);
     TimeMetadata.AddUnit(builder, unit);
     return(TimeMetadata.EndTimeMetadata(builder));
 }
Example #2
0
 public static TimeMetadata GetRootAsTimeMetadata(ByteBuffer _bb, TimeMetadata obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }