| 369 | } |
| 370 | |
| 371 | unsigned CDocumentFile::Read(unsigned char *lpBuf, std::size_t nCount) // // // |
| 372 | { |
| 373 | m_iPreviousPosition = m_iFilePosition; |
| 374 | m_iFilePosition = m_pFile->GetPosition(); |
| 375 | return m_pFile->ReadBytes(lpBuf, nCount); |
| 376 | } |
| 377 | |
| 378 | void CDocumentFile::Write(const unsigned char *lpBuf, std::size_t nCount) // // // |
| 379 | { |
nothing calls this directly
no test coverage detected