public static byte[] AuthGetFileData(string fileUrl)
{
FileStream fs = new FileStream(fileUrl, FileMode.Open, FileAccess.Read);
byte[] buffur = new byte[fs.Length];
fs.Read(buffur, 0, buffur.Length);
fs.Close();
return buffur;
}
unity将任意格式文件(例如视频mp4,图片png)转换成Byte字节流
猜你喜欢
转载自blog.csdn.net/qq_39646949/article/details/127246563
今日推荐
周排行