Resets the internal values of the opaque pointer and number of bytes in the memory region, just as in the constructor.
| 102 | // Resets the internal values of the opaque pointer and number of bytes in the |
| 103 | // memory region, just as in the constructor. |
| 104 | void Reset(void *opaque, uint64 bytes) { |
| 105 | opaque_ = opaque; |
| 106 | size_ = bytes; |
| 107 | } |
| 108 | |
| 109 | private: |
| 110 | void *opaque_; // Platform-dependent value representing allocated memory. |