public static Offset <FlatResult> CreateFlatResult(FlatBufferBuilder builder, long id = 0, VectorOffset variablesOffset = default(VectorOffset), VectorOffset timingOffset = default(VectorOffset), long footprintForward = 0, long footprintBackward = 0) { builder.StartObject(5); FlatResult.AddFootprintBackward(builder, footprintBackward); FlatResult.AddFootprintForward(builder, footprintForward); FlatResult.AddId(builder, id); FlatResult.AddTiming(builder, timingOffset); FlatResult.AddVariables(builder, variablesOffset); return(FlatResult.EndFlatResult(builder)); }
public static FlatResult GetRootAsFlatResult(ByteBuffer _bb, FlatResult obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }