X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8024723d768fee81373b38218564f48d4a0ea871..3201a1046ba71ba8e5ef2ed694fde34d12f743f3:/interface/buffer.h?ds=inline diff --git a/interface/buffer.h b/interface/buffer.h index e8755cbd3d..6de1c83f15 100644 --- a/interface/buffer.h +++ b/interface/buffer.h @@ -60,17 +60,17 @@ public: /** Returns the size of the buffer. */ - size_t GetBufSize(); + size_t GetBufSize() const; /** Return a pointer to the data in the buffer. */ - void* GetData(); + void* GetData() const; /** Returns the length of the valid data in the buffer. */ - size_t GetDataLen(); + size_t GetDataLen() const; /** Ensure the buffer is big enough and return a pointer to the