| 55 | } |
| 56 | uint32_t getMemorySize() const noexcept override { return memory_.size(); } |
| 57 | uint32_t getTotalSize() const noexcept override { |
| 58 | // Note: this doesn't try to account for SSO |
| 59 | return sizeof(*this) + key_.size() + memory_.size(); |
| 60 | } |
| 61 | |
| 62 | private: |
| 63 | uint32_t creationTime_; |