Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tencent/MMKV
/ spaceLeft
Method
spaceLeft
Core/CodedOutputData.cpp:93–98 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
91
}
92
93
size_t CodedOutputData::spaceLeft() {
94
if (m_size <= m_position) {
95
return 0;
96
}
97
return m_size - m_position;
98
}
99
100
void CodedOutputData::seek(size_t addedSize) {
101
m_position += addedSize;
Callers
1
ensureMemorySize
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected