build/include/grl/flatbuffer/grl/flatbuffer/Time.java
Go to the documentation of this file.
1 // automatically generated, do not modify
2 
3 package grl.flatbuffer;
4 
5 import java.nio.*;
6 import java.lang.*;
7 import java.util.*;
8 import com.google.flatbuffers.*;
9 
10 @SuppressWarnings("unused")
11 public final class Time extends Struct {
12  public Time __init(int _i, ByteBuffer _bb) { bb_pos = _i; bb = _bb; return this; }
13 
14  public double sec() { return bb.getDouble(bb_pos + 0); }
15 
16  public static int createTime(FlatBufferBuilder builder, double sec) {
17  builder.prep(8, 8);
18  builder.putDouble(sec);
19  return builder.offset();
20  }
21 };
22 
static int createTime(FlatBufferBuilder builder, double sec)