17 char* srcByte = (
char*)&data;
18 memcpy(srcByte, ds,
sizeof(
bool));
30 char* srcByte = (
char*)data;
31 memcpy(srcByte, ds,
sizeof(
bool)*nbElement);
32 ds +=
sizeof(bool)*nbElement;
42 const char* srcByte = (
const char*)&data;
43 memcpy(ds, srcByte,
sizeof(
bool));
55 const char* srcByte = (
const char*)data;
56 memcpy(ds, srcByte,
sizeof(
bool)*nbElement);
57 ds +=
sizeof(bool)*nbElement;
71 size_t nbElement(0lu);
73 if(nbElement == 0lu || !b){
return b;}
74 data.resize(nbElement);
87 size_t nbElement(data.size());
89 if(nbElement == 0lu || !b){
return b;}
DataStreamType * DataStreamIter
static bool data_stream(Stream &ds, T &data)
Dummy function to catch if a type is not specialised.