On Tuesday 28 April 2015 01:39:47 Jon A. Cruz wrote: > On 04/28/2015 01:06 AM, Han-Lin Li wrote: > > Current iotivity doesn't support char datatype which makes > > transmitting binary data difficult. > > > > Will char datatype be support in the future? > > Just a minor note: > > For a binary data type I'd more expect to see std::vector<uint8_t> > rather than std::vector<char>. Use of 'char' makes me thing of random > 8-bit character strings in an unspecified encoding.
I agree with Jon, please use uint8_t to indicate binary data. We need to distinguish binary data from text strings so we know how to encode. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center