This commit is contained in:
2024-08-16 13:56:54 -04:00
parent 75df00b3e3
commit 2e364ff470
19 changed files with 211 additions and 125 deletions

View File

@@ -82,7 +82,7 @@ bool FileIO::read(DWORD &value)
bool FileIO::read(char *lpBuffer,DWORD lengthData)
{
BYTE byteValue;
BYTE byteValue(0);
if(!isOkay()||!lpBuffer)return false;
return (1==::fread(lpBuffer,lengthData,1,mlpFilePointer));
@@ -190,7 +190,7 @@ bool FileIO::writeLine(const String &strLine)
{
if(!isOkay()||strLine.isNull())return false;
if(!write((char*)(String&)strLine,strLine.length()))return false;
return write("\r\n",2);
return write((char*)"\r\n",2);
}
bool FileIO::write(char *lpBuffer,DWORD lengthData)