X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8024723d768fee81373b38218564f48d4a0ea871..06e9cf134f284d1ce992617bd63d3f781af70575:/interface/buffer.h 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