| 63 | |
| 64 | private: |
| 65 | bool GoodPosAndSize(uint64_t pos, uint64_t size) const |
| 66 | { |
| 67 | // In case of 32-bit system, when sizeof(size_t) == 4. |
| 68 | return (pos + size <= Size() && size <= std::numeric_limits<size_t>::max()); |
| 69 | } |
| 70 | |
| 71 | void AssertPosAndSize(uint64_t pos, uint64_t size) const |
| 72 | { |