You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Writes `tag`/`value` as a blob. `T` should be a POD.
// Returns true on success.
template <typename T>
bool Write(Blob::SizeAndTagT tag, T value) {
static_assert(std::is_pod_v<T>, "T must be a POD");
return Write(
{tag, sizeof(value), reinterpret_cast<const uint8_t *>(&value)});
}