FileStream fs =
new FileStream(filePath, FileMode.Open,FileAccess.Read);
//filepath为要读取的文件,任意格式BinaryReader read = new BinaryReader(fs);
int lenth=System.Convert.ToInt32(fs2.Length);
byte[] reData=read.ReadBytes(lenth) ;
//byte为从图片中读取的所有信息。
new FileStream(filePath, FileMode.Open,FileAccess.Read);
//filepath为要读取的文件,任意格式BinaryReader read = new BinaryReader(fs);
int lenth=System.Convert.ToInt32(fs2.Length);
byte[] reData=read.ReadBytes(lenth) ;
//byte为从图片中读取的所有信息。
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货