Getting equivalent byte value for an int
807597Mar 22 2005 — edited Mar 22 2005I have converted chars to ints for storage in an array, and the corresponding array positions hold the frequency of the byte with the same value
ie. the value of bytes corresponding to 'A' is stored in array position 65
This is not the greatest system for doing this, just roll with it though.
My problem is now getting this informaiton out. I want to convert the array position (array) to a byte, so that 65 will be stored as byte 'A'.
array[i].byteValue
doesn't work. Is this not what I should be doing here? Kinda stuck, and I can't pinpoint it but I think something is fuzzy with my logic.
Any help would be great. Thanks in advance.