I need to implement a socket protocol that uses bits and bytes instead of strings in Symbian C++. Since the sockets can only write in descriptors and send data by means of descriptors, I need a way to edit the descriptor bit by bit. I need a function that concatenates TUint8 or TUint16 values into one long array of bits which the socket will send out as a bit/byte stream. I need something like an RFile::Read() which puts bits into a descriptor. Can anyone give suggestions how this can be done?
The AppendNum() functions of descriptors convert the bytes/bits into their character equivalent. So I think that I cannot use that.