MemoryStream ms = new MemoryStream();
//要先把二进制流进行编码,再传输,解决乱码问题
Convert.ToBase64String(ms.ToArray());
context.Response.Write(Convert.ToBase64String(ms.ToArray()));
2024-01-26 21:13:22
MemoryStream ms = new MemoryStream();
//要先把二进制流进行编码,再传输,解决乱码问题
Convert.ToBase64String(ms.ToArray());
context.Response.Write(Convert.ToBase64String(ms.ToArray()));