CString foo;
file.Read( foo ); to read the entire file
This commit is contained in:
@@ -61,7 +61,7 @@ public:
|
||||
|
||||
/* Raw I/O: */
|
||||
int Read( void *buffer, size_t bytes );
|
||||
int Read( CString &buffer, size_t bytes );
|
||||
int Read( CString &buffer, int bytes = -1 );
|
||||
int Write( const void *buffer, size_t bytes );
|
||||
int Write( const CString& string ) { return Write( string.data(), string.size() ); }
|
||||
int Flush();
|
||||
|
||||
Reference in New Issue
Block a user