• Post Reply Bookmark Topic Watch Topic
  • New Topic

Encoding in Bytes- strane (to me)  RSS feed

 
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey,

I have the following code:


The resultArr is strange to me. the lenght of the resultArr is 16!!!.
byte[10]=-17,byte[11]=-65 and etc

Can someone please explain?

Thank you
 
Bartender
Posts: 5167
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
http://forum.java.sun.com/thread.jspa?threadID=5297078
 
Ranch Hand
Posts: 262
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

...and answered in the other forum. Thanks, Darryl!
 
Marshal
Posts: 56605
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And please don't ask the same question in two different fora, as Darryl Burke and "encephalopathic" have commented. It is a waste of our time if we don't know the same question is asked in two places.
 
Campbell Ritchie
Marshal
Posts: 56605
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have checked with the other moderators, who say it is regarded as permissible to post on two different websites, so I am sorry for overreacting.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!