Index: src/OFNumber.h ================================================================== --- src/OFNumber.h +++ src/OFNumber.h @@ -147,29 +147,29 @@ * \return A new autoreleased OFNumber */ + numberWithInt64: (int64_t)int64; /** - * \param uint8 An uint8_t which the OFNumber should contain + * \param uint8 A uint8_t which the OFNumber should contain * \return A new autoreleased OFNumber */ + numberWithUInt8: (uint8_t)uint8; /** - * \param uint16 An uint16_t which the OFNumber should contain + * \param uint16 A uint16_t which the OFNumber should contain * \return A new autoreleased OFNumber */ + numberWithUInt16: (uint16_t)uint16; /** - * \param uint32 An uint32_t which the OFNumber should contain + * \param uint32 A uint32_t which the OFNumber should contain * \return A new autoreleased OFNumber */ + numberWithUInt32: (uint32_t)uint32; /** - * \param uint64 An uint64_t which the OFNumber should contain + * \param uint64 A uint64_t which the OFNumber should contain * \return A new autoreleased OFNumber */ + numberWithUInt64: (uint64_t)uint64; /** @@ -189,11 +189,11 @@ * \return A new autoreleased OFNumber */ + numberWithIntMax: (intmax_t)intmax; /** - * \param uintmax An uintmax_t which the OFNumber should contain + * \param uintmax A uintmax_t which the OFNumber should contain * \return A new autoreleased OFNumber */ + numberWithUIntMax: (uintmax_t)uintmax; /** @@ -207,11 +207,11 @@ * \return A new autoreleased OFNumber */ + numberWithIntPtr: (intptr_t)intptr; /** - * \param uintptr An uintptr_t which the OFNumber should contain + * \param uintptr A uintptr_t which the OFNumber should contain * \return A new autoreleased OFNumber */ + numberWithUIntPtr: (uintptr_t)uintptr; /** @@ -323,35 +323,35 @@ - initWithInt64: (int64_t)int64; /** * Initializes an already allocated OFNumber with the specified uint8_t. * - * \param uint8 An uint8_t which the OFNumber should contain + * \param uint8 A uint8_t which the OFNumber should contain * \return An initialized OFNumber */ - initWithUInt8: (uint8_t)uint8; /** * Initializes an already allocated OFNumber with the specified uint16_t. * - * \param uint16 An uint16_t which the OFNumber should contain + * \param uint16 A uint16_t which the OFNumber should contain * \return An initialized OFNumber */ - initWithUInt16: (uint16_t)uint16; /** * Initializes an already allocated OFNumber with the specified uint32_t. * - * \param uint32 An uint32_t which the OFNumber should contain + * \param uint32 A uint32_t which the OFNumber should contain * \return An initialized OFNumber */ - initWithUInt32: (uint32_t)uint32; /** * Initializes an already allocated OFNumber with the specified uint64_t. * - * \param uint64 An uint64_t which the OFNumber should contain + * \param uint64 A uint64_t which the OFNumber should contain * \return An initialized OFNumber */ - initWithUInt64: (uint64_t)uint64; /** @@ -379,11 +379,11 @@ - initWithIntMax: (intmax_t)intmax; /** * Initializes an already allocated OFNumber with the specified uintmax_t. * - * \param uintmax An uintmax_t which the OFNumber should contain + * \param uintmax A uintmax_t which the OFNumber should contain * \return An initialized OFNumber */ - initWithUIntMax: (uintmax_t)uintmax; /** @@ -403,11 +403,11 @@ - initWithIntPtr: (intptr_t)intptr; /** * Initializes an already allocated OFNumber with the specified uintptr_t. * - * \param uintptr An uintptr_t which the OFNumber should contain + * \param uintptr A uintptr_t which the OFNumber should contain * \return An initialized OFNumber */ - initWithUIntPtr: (uintptr_t)uintptr; /** @@ -491,26 +491,26 @@ * \return The OFNumber as an int64_t */ - (int64_t)int64Value; /** - * \return The OFNumber as an uint8_t + * \return The OFNumber as a uint8_t */ - (uint8_t)uInt8Value; /** - * \return The OFNumber as an uint16_t + * \return The OFNumber as a uint16_t */ - (uint16_t)uInt16Value; /** - * \return The OFNumber as an uint32_t + * \return The OFNumber as a uint32_t */ - (uint32_t)uInt32Value; /** - * \return The OFNumber as an uint64_t + * \return The OFNumber as a uint64_t */ - (uint64_t)uInt64Value; /** * \return The OFNumber as a size_t @@ -526,11 +526,11 @@ * \return The OFNumber as an intmax_t */ - (intmax_t)intMaxValue; /** - * \return The OFNumber as an uintmax_t + * \return The OFNumber as a uintmax_t */ - (uintmax_t)uIntMaxValue; /** * \return The OFNumber as a ptrdiff_t @@ -541,11 +541,11 @@ * \return The OFNumber as an intptr_t */ - (intptr_t)intPtrValue; /** - * \return The OFNumber as an uintptr_t + * \return The OFNumber as a uintptr_t */ - (uintptr_t)uIntPtrValue; /** * \return The OFNumber as a float Index: src/OFStream.h ================================================================== --- src/OFStream.h +++ src/OFStream.h @@ -65,76 +65,76 @@ */ - (void)readExactlyNBytes: (size_t)size intoBuffer: (char*)buf; /** - * Reads an uint8_t from the stream. + * Reads a uint8_t from the stream. * * WARNING: Only call this when you know that enough data is available! * Otherwise you will get an exception! * - * \return An uint8_t from the stream + * \return A uint8_t from the stream */ - (uint8_t)readInt8; /** - * Reads an uint16_t from the stream which is encoded in big endian. + * Reads a uint16_t from the stream which is encoded in big endian. * * WARNING: Only call this when you know that enough data is available! * Otherwise you will get an exception! * - * \return An uint16_t from the stream in native endianess + * \return A uint16_t from the stream in native endianess */ - (uint16_t)readBigEndianInt16; /** - * Reads an uint32_t from the stream which is encoded in big endian. + * Reads a uint32_t from the stream which is encoded in big endian. * * WARNING: Only call this when you know that enough data is available! * Otherwise you will get an exception! * - * \return An uint32_t from the stream in the native endianess + * \return A uint32_t from the stream in the native endianess */ - (uint32_t)readBigEndianInt32; /** - * Reads an uint64_t from the stream which is encoded in big endian. + * Reads a uint64_t from the stream which is encoded in big endian. * * WARNING: Only call this when you know that enough data is available! * Otherwise you will get an exception! * - * \return An uint64_t from the stream in the native endianess + * \return A uint64_t from the stream in the native endianess */ - (uint64_t)readBigEndianInt64; /** - * Reads an uint16_t from the stream which is encoded in little endian. + * Reads a uint16_t from the stream which is encoded in little endian. * * WARNING: Only call this when you know that enough data is available! * Otherwise you will get an exception! * - * \return An uint16_t from the stream in native endianess + * \return A uint16_t from the stream in native endianess */ - (uint16_t)readLittleEndianInt16; /** - * Reads an uint32_t from the stream which is encoded in little endian. + * Reads a uint32_t from the stream which is encoded in little endian. * * WARNING: Only call this when you know that enough data is available! * Otherwise you will get an exception! * - * \return An uint32_t from the stream in the native endianess + * \return A uint32_t from the stream in the native endianess */ - (uint32_t)readLittleEndianInt32; /** - * Reads an uint64_t from the stream which is encoded in little endian. + * Reads a uint64_t from the stream which is encoded in little endian. * * WARNING: Only call this when you know that enough data is available! * Otherwise you will get an exception! * - * \return An uint64_t from the stream in the native endianess + * \return A uint64_t from the stream in the native endianess */ - (uint64_t)readLittleEndianInt64; /** * Reads nitems items with the specified item size from the stream and returns @@ -213,55 +213,55 @@ */ - (size_t)writeNBytes: (size_t)size fromBuffer: (const char*)buf; /** - * Writes an uint8_t into the stream. + * Writes a uint8_t into the stream. * - * \param int8 An uint8_t + * \param int8 A uint8_t */ - (void)writeInt8: (uint8_t)int8; /** - * Writes an uint16_t into the stream, encoded in big endian. + * Writes a uint16_t into the stream, encoded in big endian. * - * \param int16 An uint16_t + * \param int16 A uint16_t */ - (void)writeBigEndianInt16: (uint16_t)int16; /** - * Writes an uint32_t into the stream, encoded in big endian. + * Writes a uint32_t into the stream, encoded in big endian. * - * \param int32 An uint32_t + * \param int32 A uint32_t */ - (void)writeBigEndianInt32: (uint32_t)int32; /** - * Writes an uint64_t into the stream, encoded in big endian. + * Writes a uint64_t into the stream, encoded in big endian. * - * \param int64 An uint64_t + * \param int64 A uint64_t */ - (void)writeBigEndianInt64: (uint64_t)int64; /** - * Writes an uint16_t into the stream, encoded in little endian. + * Writes a uint16_t into the stream, encoded in little endian. * - * \param int16 An uint16_t + * \param int16 A uint16_t */ - (void)writeLittleEndianInt16: (uint16_t)int16; /** - * Writes an uint32_t into the stream, encoded in little endian. + * Writes a uint32_t into the stream, encoded in little endian. * - * \param int32 An uint32_t + * \param int32 A uint32_t */ - (void)writeLittleEndianInt32: (uint32_t)int32; /** - * Writes an uint64_t into the stream, encoded in little endian. + * Writes a uint64_t into the stream, encoded in little endian. * - * \param int64 An uint64_t + * \param int64 A uint64_t */ - (void)writeLittleEndianInt64: (uint64_t)int64; /** * Writes from an OFDataArray into the stream.