Scan
scan file from the beginning to look for line separation info
int Scan( int nSize, stdioFileInfo * pfileInfo, BOOL bUnicode = false )
number of bytes actually read, should be same as nSize if not reaching end of the file
EX1
void stdioFile_Scan_ex1() { string strFilename = GetAppPath() + "origin.ini"; stdioFile ff; bool bRet = ff.Open(strFilename, file::modeRead); stdioFileInfo pfileInfo; int num = ff.Scan(1024, &pfileInfo); printf("read %d bytes\n", num); }
origin.h