public static AllfData GetSampleCloseToTime(EDFFILE file, uint time) { System.IntPtr ptr = edf_get_sample_close_to_time(file, time); AllfData data; if (ptr.ToInt64() != 0) { data = new AllfData(ptr); } else { data = null; } return(data); }
public static AllfData GetFloatData(EDFFILE file) { System.IntPtr ptr = edf_get_float_data(file); AllfData data; if (ptr.ToInt64() != 0) { data = new AllfData(ptr); } else { data = null; } return(data); }