15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
|
#import "OFString.h"
/**
* A class for storing and modifying strings.
*/
@interface OFMutableString: OFString {}
/**
* Sets the OFString to the specified OFString.
*
* \param str An OFString to set the OFString to.
*/
- setToCString: (const char*)str;
/**
* Appends a C string to the OFString.
*
* \param str A C string to append
*/
- appendCString: (const char*)str;
/**
* Appends a C string with the specified length to the OFString.
*
* \param str A C string to append
* \param len The length of the C string
*/
- appendCString: (const char*)str
withLength: (size_t)len;
/**
* Appends a C string to the OFString without checking whether it is valid
* UTF-8.
*
* Only use this if you are 100% sure the string you append is either ASCII or
* UTF-8!
*
* \param str A C string to append
*/
- appendCStringWithoutUTF8Checking: (const char*)str;
/**
* Appends a C string with the specified length to the OFString without checking
* whether it is valid UTF-8.
*
* Only use this if you are 100% sure the string you append is either ASCII or
* UTF-8!
*
* \param str A C string to append
* \param len The length of the C string
*/
- appendCStringWithoutUTF8Checking: (const char*)str
andLength: (size_t)len;
/**
* Appends another OFString to the OFString.
*
* \param str An OFString to append
*/
- appendString: (OFString*)str;
/**
* Appends a formatted C string to the OFString.
* See printf for the format syntax.
*
* \param fmt A format string which generates the string to append
*/
- appendWithFormat: (OFString*)fmt, ...;
/**
* Appends a formatted C string to the OFString.
* See printf for the format syntax.
*
* \param fmt A format string which generates the string to append
* \param args The arguments used in the format string
*/
- appendWithFormat: (OFString*)fmt
andArguments: (va_list)args;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
|
#import "OFString.h"
/**
* A class for storing and modifying strings.
*/
@interface OFMutableString: OFString {}
/**
* Sets the OFString to the specified UTF-8 encoded C string.
*
* \param str A UTF-8 encoded C string to set the OFString to.
*/
- setToCString: (const char*)str;
/**
* Appends a UTF-8 encoded C string to the OFString.
*
* \param str A UTF-8 encoded C string to append
*/
- appendCString: (const char*)str;
/**
* Appends a UTF-8 encoded C string with the specified length to the OFString.
*
* \param str A UTF-8 encoded C string to append
* \param len The length of the UTF-8 encoded C string
*/
- appendCString: (const char*)str
withLength: (size_t)len;
/**
* Appends a UTF-8 encoded C string to the OFString without checking whether it
* is valid UTF-8.
*
* Only use this if you are 100% sure the string you append is either ASCII or
* UTF-8!
*
* \param str A UTF-8 encoded C string to append
*/
- appendCStringWithoutUTF8Checking: (const char*)str;
/**
* Appends a UTF-8 encoded C string with the specified length to the OFString
* without checking whether it is valid UTF-8.
*
* Only use this if you are 100% sure the string you append is either ASCII or
* UTF-8!
*
* \param str A UTF-8 encoded C string to append
* \param len The length of the UTF-8 encoded C string
*/
- appendCStringWithoutUTF8Checking: (const char*)str
andLength: (size_t)len;
/**
* Appends another OFString to the OFString.
*
* \param str An OFString to append
*/
- appendString: (OFString*)str;
/**
* Appends a formatted UTF-8 encoded C string to the OFString.
* See printf for the format syntax.
*
* \param fmt A format string which generates the string to append
*/
- appendWithFormat: (OFString*)fmt, ...;
/**
* Appends a formatted UTF-8 encoded C string to the OFString.
* See printf for the format syntax.
*
* \param fmt A format string which generates the string to append
* \param args The arguments used in the format string
*/
- appendWithFormat: (OFString*)fmt
andArguments: (va_list)args;
|