15char * srcByte = reinterpret_cast<char *>(&data); // NOLINT(cppcoreguidelines-pro-type-reinterpret-cast) the data is read or written as raw bytes
16 memcpy(srcByte, ds, sizeof(bool));
17 ds += sizeof(bool); // NOLINT(cppcoreguidelines-pro-bounds-pointer-arithmetic) the message iterator moves forward after each read or write, the message is allocated with data_size
28char * srcByte = reinterpret_cast<char *>(data); // NOLINT(cppcoreguidelines-pro-type-reinterpret-cast) the data is read or written as raw bytes
29 memcpy(srcByte, ds, sizeof(bool) * nbElement);
30 ds += sizeof(bool) * nbElement; // NOLINT(cppcoreguidelines-pro-bounds-pointer-arithmetic) the message iterator moves forward after each read or write, the message is allocated with data_size
40constchar * srcByte = reinterpret_cast<const char *>(&data); // NOLINT(cppcoreguidelines-pro-type-reinterpret-cast) the data is read or written as raw bytes
41 memcpy(ds, srcByte, sizeof(bool));
42 ds += sizeof(bool); // NOLINT(cppcoreguidelines-pro-bounds-pointer-arithmetic) the message iterator moves forward after each read or write, the message is allocated with data_size
53constchar * srcByte = reinterpret_cast<const char *>(data); // NOLINT(cppcoreguidelines-pro-type-reinterpret-cast) the data is read or written as raw bytes
54 memcpy(ds, srcByte, sizeof(bool) * nbElement);
55 ds += sizeof(bool) * nbElement; // NOLINT(cppcoreguidelines-pro-bounds-pointer-arithmetic) the message iterator moves forward after each read or write, the message is allocated with data_size
71 memcpy(reinterpret_cast<SerializeIter>(data.data()), ds, nbElement); // NOLINT(cppcoreguidelines-pro-type-reinterpret-cast) the data is read or written as raw bytes
72 ds += nbElement; // NOLINT(cppcoreguidelines-pro-bounds-pointer-arithmetic) the message iterator moves forward after each read or write, the message is allocated with data_size
87 memcpy(ds, reinterpret_cast<const SerializeIter>(data.data()), nbElement); // NOLINT(cppcoreguidelines-pro-type-reinterpret-cast) the data is read or written as raw bytes
88 ds += nbElement; // NOLINT(cppcoreguidelines-pro-bounds-pointer-arithmetic) the message iterator moves forward after each read or write, the message is allocated with data_size