Hi I dont understand of the below case of converting int to byte , the below java code can able to print the byte value as below
System.out.println("binary output ::: "+Byte.toString(bo[0]));
System.out.println("binary output ::: "+Byte.valueOf(bo[1]));
System.out.println("binary output ::: "+Byte.valueOf(bo[2]));
System.out.println("binary output ::: "+Byte.valueOf(bo[3]));
System.out.println("binary output ::: "+new String(bo));
binary output ::: 0
binary output ::: 0
binary output ::: 0
binary output ::: 1
binary output ::: squaresquaresquaresquare ( 4 square chars) - binary data
but when i make a objective-c code to the same data into final NSString it also prints as "0001" but not in binary format ( 4 square chars)
I need NSString in binary format how do i print NSString in binary format instead of "0001"
please help