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