Hi I want to convert the NSString into Byte array.
if I have string like \"Hello\" then it convert into byte like this {65,23,56,56,56}.
thanks
From the docs:
"Gets a given range of characters as bytes in a specified encoding."
- (BOOL)getBytes:(void *)buffer maxLength:(NSUInteger)maxBufferCount usedLength:(NSUInteger *)usedBufferCount encoding:(NSStringEncoding)encoding options:(NSStringEncodingConversionOptions)options range:(NSRange)range remainingRange:(NSRangePointer)leftover