convert byte array from signed decimal to unsigned hexadecimal in java -
my requirement sign byte array.
i have byte[]
[77,-22,-35,-118,107] , have convert unsigned 1 [77,234,221,138,107] after exploring on internet, think byte array below should constructed.
byte[] {0x004d,(byte)0x00ea,(byte)0x00dd,(byte)0x008a,0x006b}
is right approach? if yes, how byte array conversion can done? please help?
Comments
Post a Comment