This discussion is archived
6 Replies Latest reply: Feb 11, 2011 9:57 AM by Murray9654 RSS

how to accumulate two or more bits and then covert into character?

Murray9654 Newbie
Currently Being Moderated
Hi,
I am sending a character which is of 16 bit through a Socket. at the other end i am reading byte by byte. so at the other end after reading 2 bytes i want to combine them and convert into a char. So how do i do this? How do i combine two bytes and then convert into a char?

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points