FileStream fs = new FileStream(fileName, FileMode.Open, FileAccess.Read) ;
BinaryReader br = new BinaryReader(fs);
ushort[] imageData = new ushort[br.BaseStream.Length];
int nRet = int.Parse(br.BaseStream.Length.ToString());
imageData = br.ReadBytes(nRet);
fs.Close();

 

相关文章:

  • 2021-08-16
  • 2022-01-16
  • 2021-10-30
  • 2022-12-23
  • 2022-12-23
  • 2021-08-20
  • 2022-12-23
  • 2021-10-08
猜你喜欢
  • 2022-02-11
  • 2022-01-26
  • 2021-10-09
  • 2021-09-01
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案