110,538
社区成员
发帖
与我相关
我的任务
分享
reader.BaseStream.Position = 0x1004;
byte[] sBuffer = new byte[] {};
//此处为读取的字节数,读取1个字节
sBuffer = reader.ReadBytes(1);
//此处输出应该与UE读取出的字符是一致的,如果不一样就是编码问题了
string oStr = System.Text.Encoding.UTF8.GetString(sBuffer);
FileStream fs = new FileStream(fileName, FileMode.Open, FileAccess.Read);
BinaryReader reader = new BinaryReader(fs);
reader.BaseStream.Position = 0x6005;
strData = reader.ReadString();