I have one byte array which has some raw data like 1aa23486b2..and so on. I want to represent each byte in the array as a decimal number. I then have to go through the decimal numbers and pick out the first x decimal to output to screen.
if i use int byte [same size as input byte array] would that work? just declare and initialized it memset(byte,0,same size as input byte array];
then just loop through and copy it over which could do the trick but then how do i choose x amount of digits?