摘要:
今天写了一个函数,发现读取数据很慢,大家看看这两个函数的对比1、brs = new BinaryReader(File.Open(eegfile, FileMode.Open));long datelen = brs.BaseStream.Length / 4; for (int i = 0; i < datelen; i++) {databuff[i] = brs.readInt()}2、brs = new BinaryReader(File.Open(eegfile, FileMode.Open)); for (int i = 0; i < brs.baseStram.leng 阅读全文