Bookmark Topic Watch Topic
  • New Topic

string to byte, cant store values like E8 for MAC address.

 
usman sarwar
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Report post to moderator
hi guyz,

I am facing a problem related with byte value

actually what I wana do is to assign string value to byte array. String value is a hexa-decimal value of MAC address.
I know how to assign values but the problem is byte in java is signed, hence i cannot store values like E8.

regards
 
Joe Ess
Bartender
Posts: 9361
11
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please do not post the same question more than once.
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!