We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be997ab commit a7eed94Copy full SHA for a7eed94
src/core/common/ojph_file.h
@@ -203,6 +203,13 @@ namespace ojph {
203
*/
204
void write_to_file(const char *file_name) const;
205
206
+ /**
207
+ * @brief Call this function to get the used size of the memory file.
208
+ *
209
+ * @return the used size of the memory file.
210
+ */
211
+ size_t get_used_size() const { return used_size; }
212
+
213
private:
214
/**
215
* @brief This function expands storage by x1.5 needed space.
0 commit comments