问题描述
br.BaseStream.Position=0x7DDAC;br.Read(buffer1,0,32);br.BaseStream.Position=0x7DDCC;br.Read(buffer,0,32);bw.BaseStream.Position=0x7DDCC;bw.Write(buffer1,0,32);bw.BaseStream.Position=0x7DDAC;bw.Write(buffer,0,32);br.BaseStream.Position=0x7DFA8;br.Read(buffer1,0,60);br.BaseStream.Position=0x7DFE4;br.Read(buffer,0,60);bw.BaseStream.Position=0x7DFE4;bw.Write(buffer1,0,60);bw.BaseStream.Position=0x7DFA8;bw.Write(buffer,0,60);上面这段代码里面的字符串交换位置可以成功,为什么下面这段就只能把第一个字符串复制到第二个,二第二段字符串没了;
时间: 2024-10-25 02:23:54