using (FileStream fs = new FileStream(你的路径(如:C://test.jpg), FileMode.Create, FileAccess.Write))
{
fs.Write(你的byte, 0, 你的byte.Length);
}
使用using 防止保存不成功 内存无法关闭
C# 将byte 保存为文件 转为文件
最新推荐文章于 2024-04-18 15:44:29 发布