| 34 | StringBlock::StringBlock(std::string value) : data_{std::move(value)} {} |
| 35 | |
| 36 | size_t StringBlock::size() const noexcept { |
| 37 | return data_.size(); |
| 38 | } |
| 39 | |
| 40 | [[nodiscard]] const std::byte* StringBlock::data() const noexcept { |
| 41 | // Note: reinterpret_cast is necessary here for pointer conversion from |
no outgoing calls