131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
|
* \param path The path to the file
* \param encoding The encoding of the file
* \return A new autoreleased OFString
*/
+ stringWithContentsOfFile: (OFString*)path
encoding: (enum of_string_encoding)encoding;
/**
* Initializes an already allocated OFString.
*
* \return An initialized OFString
*/
- init;
/**
* Initializes an already allocated OFString from a UTF-8 encoded C string.
*
* \param str A UTF-8 encoded C string to initialize the OFString with
* \return An initialized OFString
*/
- initWithCString: (const char*)str;
|
<
<
<
<
<
<
<
|
131
132
133
134
135
136
137
138
139
140
141
142
143
144
|
* \param path The path to the file
* \param encoding The encoding of the file
* \return A new autoreleased OFString
*/
+ stringWithContentsOfFile: (OFString*)path
encoding: (enum of_string_encoding)encoding;
/**
* Initializes an already allocated OFString from a UTF-8 encoded C string.
*
* \param str A UTF-8 encoded C string to initialize the OFString with
* \return An initialized OFString
*/
- initWithCString: (const char*)str;
|