Differences From Artifact [4108e927d0]:
- File
src/OFFile.h
— part of check-in
[70874cf3c5]
at
2008-12-07 03:06:33
on branch trunk
— Remove writeWideCString as that's a bad idea.
Endianess, size etc. may differ from system to system. While this might
be ok when writing files that are only read local again, this is
definitely not ok with sockets. So it's better to remove it from the
OFStream protocol. (user: js, size: 4784) [annotate] [blame] [check-ins using]
To Artifact [2c1ca1f133]:
- File src/OFFile.h — part of check-in [657fae20a4] at 2008-12-07 10:35:12 on branch trunk — Add - close to OFStream. (user: js, size: 4822) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
168 169 170 171 172 173 174 175 | /** * Writes a C string into the file, without the trailing zero. * * \param str The C string from which the data is written to the file * \return The number of bytes written */ - (size_t)writeCString: (const char*)str; @end | > > > > > | 168 169 170 171 172 173 174 175 176 177 178 179 180 | /** * Writes a C string into the file, without the trailing zero. * * \param str The C string from which the data is written to the file * \return The number of bytes written */ - (size_t)writeCString: (const char*)str; /** * Closes the file. */ - close; @end |