FMIceLinkAscii Class Reference

Inherits from NSObject
Declared in FMIceLinkAscii.h
FMIceLinkAscii.m

Overview

ASCII encoding/decoding utility.

+ decodeWithInput:

Decodes a UTF-8 byte array to a string.
+ (NSString *)decodeWithInput:(NSMutableData *)input

Parameters

input

The input byte array.

Discussion

Decodes a UTF-8 byte array to a string.

Declared In

FMIceLinkAscii.h

+ decodeWithInput:index:length:

Decodes a UTF-8 byte array to a string.
+ (NSString *)decodeWithInput:(NSMutableData *)input index:(int)index length:(int)length

Parameters

input

The input byte array.

index

The index to start reading.

length

The length.

Discussion

Decodes a UTF-8 byte array to a string.

Declared In

FMIceLinkAscii.h

+ encodeWithInput:

Encodes a string to a UTF-8 byte array.
+ (NSMutableData *)encodeWithInput:(NSString *)input

Parameters

input

The input string.

Discussion

Encodes a string to a UTF-8 byte array.

Declared In

FMIceLinkAscii.h

+ getByteCountWithInput:

Gets the number of bytes that would be returned by a call to encode.
+ (int)getByteCountWithInput:(NSString *)input

Parameters

input

The input string.

Discussion

Gets the number of bytes that would be returned by a call to encode.

Declared In

FMIceLinkAscii.h