Originally posted by Sandeep Sirsekar:
ya that's perfectly fine you are upcasting byte data-type to int data-type.
but what my need is
someMethod(byteArray);//this method is provided by sun in some interface so i can't change.
i want to convert these bytes to string(that i know) but to convert it to int data-type is not known to me.
so that is the problem