@@ -155,11 +155,11 @@ * \param string The unicode string * \param byteOrder The byte order to assume if there is no BOM * \return A new autoreleased OFString */ + (instancetype)stringWithUnicodeString: (const of_unichar_t*)string - byteOrder: (of_endianess_t)byteOrder; + byteOrder: (of_byte_order_t)byteOrder; /** * \brief Creates a new OFString from a unicode string with the specified * length. * @@ -178,11 +178,11 @@ * \param byteOrder The byte order to assume if there is no BOM * \param length The length of the unicode string * \return A new autoreleased OFString */ + (instancetype)stringWithUnicodeString: (const of_unichar_t*)string - byteOrder: (of_endianess_t)byteOrder + byteOrder: (of_byte_order_t)byteOrder length: (size_t)length; /** * \brief Creates a new OFString from a UTF-16 encoded string. * @@ -198,11 +198,11 @@ * \param string The UTF-16 string * \param byteOrder The byte order to assume if there is no BOM * \return A new autoreleased OFString */ + (instancetype)stringWithUTF16String: (const uint16_t*)string - byteOrder: (of_endianess_t)byteOrder; + byteOrder: (of_byte_order_t)byteOrder; /** * \brief Creates a new OFString from a UTF-16 encoded string with the specified * length. * @@ -222,11 +222,11 @@ * \param byteOrder The byte order to assume if there is no BOM * \param length The length of the unicode string * \return A new autoreleased OFString */ + (instancetype)stringWithUTF16String: (const uint16_t*)string - byteOrder: (of_endianess_t)byteOrder + byteOrder: (of_byte_order_t)byteOrder length: (size_t)length; /** * \brief Creates a new OFString from a format string. * @@ -372,11 +372,11 @@ * \param string The unicode string * \param byteOrder The byte order to assume if there is no BOM * \return An initialized OFString */ - initWithUnicodeString: (const of_unichar_t*)string - byteOrder: (of_endianess_t)byteOrder; + byteOrder: (of_byte_order_t)byteOrder; /** * \brief Initializes an already allocated OFString with a unicode string with * the specified length. * @@ -396,11 +396,11 @@ * \param byteOrder The byte order to assume if there is no BOM * \param length The length of the unicode string * \return An initialized OFString */ - initWithUnicodeString: (const of_unichar_t*)string - byteOrder: (of_endianess_t)byteOrder + byteOrder: (of_byte_order_t)byteOrder length: (size_t)length; /** * \brief Initializes an already allocated OFString with a UTF-16 string. * @@ -416,11 +416,11 @@ * \param string The UTF-16 string * \param byteOrder The byte order to assume if there is no BOM * \return An initialized OFString */ - initWithUTF16String: (const uint16_t*)string - byteOrder: (of_endianess_t)byteOrder; + byteOrder: (of_byte_order_t)byteOrder; /** * \brief Initializes an already allocated OFString with a UTF-16 string with * the specified length. * @@ -440,11 +440,11 @@ * \param byteOrder The byte order to assume if there is no BOM * \param length The length of the UTF-16 string * \return An initialized OFString */ - initWithUTF16String: (const uint16_t*)string - byteOrder: (of_endianess_t)byteOrder + byteOrder: (of_byte_order_t)byteOrder length: (size_t)length; /** * \brief Initializes an already allocated OFString with a format string. *