Skip to content

Commit db86e05

Browse files
authored
Update ojph_file.h
A tiny improvement to the comments.
1 parent 0e41000 commit db86e05

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/core/common/ojph_file.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -206,15 +206,15 @@ namespace ojph {
206206
/**
207207
* @brief Call this function to get the used size of the memory file.
208208
*
209-
* @return the used size of the memory file.
209+
* @return the used size of the memory file in bytes.
210210
*/
211211
size_t get_used_size() const { return used_size; }
212212

213213
/**
214214
* @brief Call this function to get the total buffer size of the memory
215-
* file including unused space.
215+
* file including unused space (this is the allocated memory).
216216
*
217-
* @return the full size of the memory file.
217+
* @return the full size of the memory file in bytes.
218218
*/
219219
size_t get_buf_size() const { return buf_size; }
220220

0 commit comments

Comments
 (0)