| 104 | //////////////////////////////////////////////////////////////////////////////////////// |
| 105 | |
| 106 | void IStreamCinder::readFixedString( char *t, size_t size, bool nullTerminate ) |
| 107 | { |
| 108 | IORead( t, size ); |
| 109 | if ( nullTerminate ) |
| 110 | t[size-1] = 0; |
| 111 | } |
| 112 | |
| 113 | void IStreamCinder::readFixedString( std::string *t, size_t size ) |
| 114 | { |