| 98 | size_t getBytes() const final { return m_bytes; } |
| 99 | |
| 100 | size_t getHash() const noexcept override { |
| 101 | size_t out = 0; |
| 102 | auto ptr = m_data.get(); |
| 103 | std::memcpy(&out, &ptr, std::max(sizeof(Node *), sizeof(size_t))); |
| 104 | return out; |
| 105 | } |
| 106 | |
| 107 | /// Compares two BufferNodeBase objects for equality |
| 108 | bool operator==( |