public static Offset <BufferHeader> CreateBufferHeader(FlatBufferBuilder builder, double timestamp = 0.0, ulong frame_id = 0) { builder.StartObject(2); BufferHeader.AddFrameId(builder, frame_id); BufferHeader.AddTimestamp(builder, timestamp); return(BufferHeader.EndBufferHeader(builder)); }
public static BufferHeader GetRootAsBufferHeader(ByteBuffer _bb, BufferHeader obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }