15return fread(reinterpret_cast<void *>(&data), sizeof(bool), 1LU, ds) == 1LU; // NOLINT(cppcoreguidelines-pro-type-reinterpret-cast) the data is read or written as raw bytes
25return fread(reinterpret_cast<void *>(data), sizeof(bool), nbElement, ds) == nbElement; // NOLINT(cppcoreguidelines-pro-type-reinterpret-cast) the data is read or written as raw bytes
34return fwrite(reinterpret_cast<const void *>(&data), sizeof(bool), 1LU, ds) == 1LU; // NOLINT(cppcoreguidelines-pro-type-reinterpret-cast) the data is read or written as raw bytes
44return fwrite(reinterpret_cast<const void *>(data), sizeof(bool), nbElement, ds) == nbElement; // NOLINT(cppcoreguidelines-pro-type-reinterpret-cast) the data is read or written as raw bytes
59return fread(reinterpret_cast<void *>(data.data()), sizeof(char), nbElement, ds) == nbElement; // NOLINT(cppcoreguidelines-pro-type-reinterpret-cast) the data is read or written as raw bytes