Hi,
I'm trying to convert a NSDATA string consisting of hex to NSString.
NSDATA : 4c000230 30303037 34323030
i convert with this statement:
	
	
	
		
but when i print msg, it only converts the first character. which is L. i realized that it always terminates at NULL (00) and the rest will be blank. How do i convert the while thing?
	
		
			
		
		
	
				
			I'm trying to convert a NSDATA string consisting of hex to NSString.
NSDATA : 4c000230 30303037 34323030
i convert with this statement:
		Code:
	
	NSString *msg =  [[[NSString alloc] initWithBytes:[data bytes] length:[data length] encoding:NSUTF8StringEncoding] autorelease];but when i print msg, it only converts the first character. which is L. i realized that it always terminates at NULL (00) and the rest will be blank. How do i convert the while thing?
 
 
		