creating byte stream
how do i assign -let's say number 12000- to 3-byte stream?
could u plz give a little code example?
thanx.
asilter
Junior Poster in Training
60 posts since Oct 2006
Reputation Points: 10
Solved Threads: 0
Hi
Did that mean you want to assign any number that can be stored in 3 bytes storage space?
Yes.
ch[0]= d&0xFF;
ch[1]= (d>>8)&0xFF;
let's say d = 1200;
what does these lines do? could u show the results in bitstreams like 0010101.......?
asilter
Junior Poster in Training
60 posts since Oct 2006
Reputation Points: 10
Solved Threads: 0