Differences From Artifact [d557fd2664]:
- File
src/OFString.h
— part of check-in
[1a49ef773d]
at
2021-03-08 00:00:52
on branch trunk
— Make +[stringWithContentsOfURL:] always available
Even when there is neither files nor sockets, a scheme could still be
registered, for example for files embedded into the binary. (user: js, size: 42910) [annotate] [blame] [check-ins using] [more...]
To Artifact [9aa19fe6df]:
- File src/OFString.h — part of check-in [2969086342] at 2021-04-07 21:14:36 on branch trunk — Rename OFCryptoHash -> OFCryptographicHash (user: js, size: 43121) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
880 881 882 883 884 885 886 | * * @param encoding The encoding for the string * @return The number of bytes the string needs in the specified encoding. */ - (size_t)cStringLengthWithEncoding: (of_string_encoding_t)encoding; /** | | > > > > > | > > | | | | 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 | * * @param encoding The encoding for the string * @return The number of bytes the string needs in the specified encoding. */ - (size_t)cStringLengthWithEncoding: (of_string_encoding_t)encoding; /** * @brief Compares the string to another string. * * @param string The string to compare the string to * @return The result of the comparison */ - (of_comparison_result_t)compare: (OFString *)string; /** * @brief Compares the string to another string without caring about the case. * * @param string The string to compare the string to * @return The result of the comparison */ - (of_comparison_result_t)caseInsensitiveCompare: (OFString *)string; /** * @brief Returns the Unicode character at the specified index. * * @param index The index of the Unicode character to return * @return The Unicode character at the specified index */ |
︙ | ︙ | |||
1283 1284 1285 1286 1287 1288 1289 | #endif OF_ASSUME_NONNULL_END #include "OFConstantString.h" #include "OFMutableString.h" #ifdef __OBJC__ | | | 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 | #endif OF_ASSUME_NONNULL_END #include "OFConstantString.h" #include "OFMutableString.h" #ifdef __OBJC__ # import "OFString+CryptographicHashing.h" # import "OFString+JSONParsing.h" # ifdef OF_HAVE_FILES # import "OFString+PathAdditions.h" # endif # import "OFString+PropertyListParsing.h" # import "OFString+Serialization.h" # import "OFString+URLEncoding.h" |
︙ | ︙ |