The best datatype to work with network buffers

Viewed 35

I'm working on the network application which is based on the QT framework. It's QTcpSocket uses char arrays for transfering and receiving data. Should I stick to the char in my class, which dealing with that data, or I can use int8_t (or even uint8_t) which I like better (because of guaranteed size and debugging convenience)?

0 Answers
Related