NSData(Kontakt) Category Reference

Declared in NSData+Kontakt.h

Hex Conversion Methods

– ktk_hexString

Converts a data object to a hex string object representation.

- (NSString *)ktk_hexString

Return Value

A string object representation.

Discussion

Converts a data object to a hex string object representation.

Declared In

NSData+Kontakt.h

+ ktk_dataFromHexString:

Converts a HEX string object to a data object representation.

+ (NSData *)ktk_dataFromHexString:(NSString *)hexString

Parameters

hexString

The string object.

Return Value

A data object representation.

Discussion

Converts a HEX string object to a data object representation.

Declared In

NSData+Kontakt.h

Other Methods

– ktk_dataSwapInt16

- (NSData *)ktk_dataSwapInt16

– ktk_dataSwapInt32

- (NSData *)ktk_dataSwapInt32

– CRC16Modbus

- (uint16_t)CRC16Modbus

Extracting Primitives

– UInt8

- (uint8_t)UInt8

– UInt16

- (uint16_t)UInt16

– UInt32

- (uint32_t)UInt32