mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-18 21:30:38 +01:00
[ion/storage] Add TODO about code optimization
This commit is contained in:
@@ -114,6 +114,8 @@ void Storage::log() {
|
||||
#endif
|
||||
|
||||
size_t Storage::availableSize() {
|
||||
/* TODO maybe do: availableSize(char ** endBuffer) to get the endBuffer if it
|
||||
* is needed after calling availableSize */
|
||||
return k_storageSize-(endBuffer()-m_buffer)-sizeof(record_size_t);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user