113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
|
*/
+ (instancetype)stringWithUTF8String: (const char*)UTF8String
length: (size_t)UTF8StringLength;
/*!
* @brief Creates a new OFString from a C string with the specified encoding.
*
* @param string A C string to initialize the OFString with
* @param encoding The encoding of the C string
* @return A new autoreleased OFString
*/
+ (instancetype)stringWithCString: (const char*)cString
encoding: (of_string_encoding_t)encoding;
/*!
|
|
|
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
|
*/
+ (instancetype)stringWithUTF8String: (const char*)UTF8String
length: (size_t)UTF8StringLength;
/*!
* @brief Creates a new OFString from a C string with the specified encoding.
*
* @param cString A C string to initialize the OFString with
* @param encoding The encoding of the C string
* @return A new autoreleased OFString
*/
+ (instancetype)stringWithCString: (const char*)cString
encoding: (of_string_encoding_t)encoding;
/*!
|