/[projet1]/public/pc/tools/osdk/main/bin2txt/sources/bin2txt.cpp
Defence Force logotype

Diff of /public/pc/tools/osdk/main/bin2txt/sources/bin2txt.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 973 by dbug, Sun May 24 19:53:20 2009 UTC revision 974 by dbug, Sun Nov 24 13:29:03 2013 UTC
# Line 130  int main(int argc,char *argv[]) Line 130  int main(int argc,char *argv[])
130          printf("Size Read:%d\n",file_size);          printf("Size Read:%d\n",file_size);
131          unsigned char *BigBuffer=(unsigned char*)ptr_buffer_void;          unsigned char *BigBuffer=(unsigned char*)ptr_buffer_void;
132    
133          std::string cDestString;          std::string cDestString(cTextFileGenerator.ConvertData(BigBuffer,file_size));
         cTextFileGenerator.ConvertData(cDestString,BigBuffer,file_size);  
134    
135          if (!SaveFile(NameDst.c_str(),cDestString.c_str(),cDestString.size()))          if (!SaveFile(NameDst.c_str(),cDestString.c_str(),cDestString.size()))
136          {          {

Legend:
Removed from v.973  
changed lines
  Added in v.974

  ViewVC Help
Powered by ViewVC 1.1.26