public void Open(byte[] edfBytes) { using (var r = new EDFReader(edfBytes)) { Header = r.ReadHeader(); Signals = r.ReadSignals(); } }
public void Open(string edfFilePath) { using (var reader = new EDFReader(File.Open(edfFilePath, FileMode.Open))) { Header = reader.ReadHeader(); Signals = reader.ReadSignals(); } }