- /** Returns the offset where the data should be uploaded. */
- unsigned get_offset() const { return offset; }
-
- /** Called when the target buffer or offset within it has changed. */
- virtual void location_changed(Buffer *, unsigned, unsigned) const { }
+public:
+ /** Returns the offset of the data from the beginning of the buffer. */
+ std::size_t get_offset() const { return offset; }