We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7eed94 commit 015ca16Copy full SHA for 015ca16
src/core/common/ojph_file.h
@@ -210,6 +210,13 @@ namespace ojph {
210
*/
211
size_t get_used_size() const { return used_size; }
212
213
+ /**
214
+ * @brief Call this function to get the total buffer size of the memory
215
+ * file including unused space.
216
+ *
217
+ * @return the full size of the memory file.
218
+ */
219
+ size_t get_buf_size() const { return buf_size; }
220
private:
221
/**
222
* @brief This function expands storage by x1.5 needed space.
0 commit comments