日期:2014-05-19  浏览次数:21063 次

Help ! ! !
我用    
                                              FileStream     filestream     =     new     FileStream(FileName,     FileMode.Create,     FileAccess.Write);    
 
                                              filestream.Flush();    
 
                                              BinaryWriter     Writer1     =     new     BinaryWriter(filestream);    
                                             
                                              Writer1.Flush();    
 
                                              Writer1.Write( "XXXX ");    
 
将 "XXXX "写入流,为什么结果是 "   XXXX "呢    
ASCII为     :     "0x04     0x58     0x58     0x58     0x58 "    
为什么会多出来这个0x04呢

------解决方案--------------------
http://topic.csdn.net/t/20061029/22/5117938.html
------解决方案--------------------
你把filestream.Flush();去掉试试