absl::Cord::ExpectedChecksum

Returns this cord's expected checksum, if it has one. Otherwise, returns nullopt.

Synopsis

Declared in <absl/strings/cord.h>

std::optional<uint32_t>
ExpectedChecksum() const;

Return Value

The stored checksum, or nullopt if none was set.