CString foo;

file.Read( foo );
to read the entire file
This commit is contained in:
Glenn Maynard
2003-12-21 09:17:39 +00:00
parent ff68567397
commit efc1ce7a5d
2 changed files with 23 additions and 7 deletions
+1 -1
View File
@@ -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();