| 315 | } |
| 316 | |
| 317 | std::optional<std::string> At4Block::Md5() const { |
| 318 | if ((flags_ & At4Flags::kUsingMd5) == 0) { |
| 319 | return {}; |
| 320 | } |
| 321 | return ConvertMd5Buffer(md5_); |
| 322 | } |
| 323 | |
| 324 | void At4Block::CreatorIndex(uint16_t creator) { creator_index_ = creator; } |
| 325 | uint16_t At4Block::CreatorIndex() const { return creator_index_; } |