Conversion from 6 to 8 bit string

Patricia's Avatar, Join Date: Aug 2007
Newbie Member
I have recently started on a new project and I admit I am pretty shaky with C as most my experience is at a higher level. What I am struggling on is that I apparently need to convert this string from 6 bit chars to 8 bit chars. I know that there is shifting involved, but I am not really sure where to start. Any tips or advice?


DaWei's Avatar, Join Date: Dec 2006
Team Leader
Yes. Give more information. Are the 6 bit chars packed into longer entiies? Are they a different code? Information is key. We cannot read your mind.