ObjFW  Diff

Differences From Artifact [3ca2bba748]:

To Artifact [43d907f36d]:


348
349
350
351
352
353
354
355

356
357

358
359
360
361
362
363

364
365

366
367
368
369
370
371
372
348
349
350
351
352
353
354

355
356

357
358
359
360
361
362

363
364

365
366
367
368
369
370
371
372







-
+

-
+





-
+

-
+







 */
- (OFArray*)componentsSeparatedByString: (OFString*)delimiter;

/**
 * Returns the decimal value of the string as an intmax_t or throws an
 * OFInvalidEncoding exception if the string contains any non-number characters.
 *
 * \return An OFNumber
 * \return An intmax_t with the value of the string
 */
- (intmax_t)decimalValueAsInteger;
- (intmax_t)decimalValue;

/**
 * Returns the hexadecimal value of the string as an intmax_t or throws an
 * OFInvalidEncoding exception if the string contains any non-number characters.
 *
 * \return An OFNumber
 * \return A uintmax_t with the value of the string
 */
- (uintmax_t)hexadecimalValueAsInteger;
- (uintmax_t)hexadecimalValue;

/**
 * Returns the string as an array of of_unichar_t. The result needs to be
 * free()'d by the caller, as the memory is not marked as belonging to the
 * object.
 *
 * \return The string as an array of Unicode characters