NSData(ETBitTampering) Category Reference
Declared in | ETBitTampering.h |
Tasks
UInt<#> retrieval methods.
SInt<#> retrieval methods.
Float & Double retrieval methods.
String retrieval methods.
Instance Methods
doubleAtIndex:
Returns a double
value located at the specified index.
- (double)doubleAtIndex:(NSUInteger)index
Parameters
- index
The character index that will be returned as a
double
.
Return Value
A double
value from the character at the specified index.
Declared In
ETBitTampering.h
floatAtIndex:
Returns a float
value located at the specified index.
- (float)floatAtIndex:(NSUInteger)index
Parameters
- index
The character index that will be returned as a
float
.
Return Value
A float
value from the character at the specified index.
Declared In
ETBitTampering.h
sint16AtIndex:
Returns a SInt16
value located at the specified index.
- (SInt16)sint16AtIndex:(NSUInteger)index
Parameters
- index
The character index that will be returned as a
SInt16
.
Return Value
A SInt16
value from the character at the specified index.
Declared In
ETBitTampering.h
sint32AtIndex:
Returns a SInt32
value located at the specified index.
- (SInt32)sint32AtIndex:(NSUInteger)index
Parameters
- index
The character index that will be returned as a
SInt32
.
Return Value
A SInt32
value from the character at the specified index.
Declared In
ETBitTampering.h
sint64AtIndex:
Returns a SInt64
value located at the specified index.
- (SInt64)sint64AtIndex:(NSUInteger)index
Parameters
- index
The character index that will be returned as a
SInt64
.
Return Value
A SInt64
value from the character at the specified index.
Declared In
ETBitTampering.h
sint8AtIndex:
Returns a SInt8
value located at the specified index.
- (SInt8)sint8AtIndex:(NSUInteger)index
Parameters
- index
The character index that will be returned as a
SInt8
.
Return Value
A SInt8
value from the character at the specified index.
Declared In
ETBitTampering.h
stringAtIndex:withEncoding:
Returns a NSString
object from the character at the specified index with the provided encoding.
- (NSString *)stringAtIndex:(NSUInteger)index withEncoding:(NSStringEncoding)encoding
Parameters
- index
The index of the “character” that will be converted to
NSString
- encoding
The
NSStringEncoding
that should be used to convert the character intoNSString
.
Return Value
A NSString
object from the index specified formatted using the provided encoding.
Declared In
ETBitTampering.h
uint16AtIndex:
Returns a UInt16
value located at the specified index.
- (UInt16)uint16AtIndex:(NSUInteger)index
Parameters
- index
The character index that will be returned as a
UInt16
.
Return Value
A UInt16
value from the character at the specified index.
Declared In
ETBitTampering.h
uint32AtIndex:
Returns a UInt32
value located at the specified index.
- (UInt32)uint32AtIndex:(NSUInteger)index
Parameters
- index
The character index that will be returned as a
UInt32
.
Return Value
A UInt32
value from the character at the specified index.
Declared In
ETBitTampering.h