mirror of
https://github.com/thunderbrewhq/common.git
synced 2025-12-12 03:02:29 +00:00
feat(datastore): add CDataStore::Sub8CBBF0
This commit is contained in:
parent
5dce613aeb
commit
9a5e71de22
2 changed files with 5 additions and 0 deletions
|
|
@ -270,3 +270,7 @@ CDataStore& CDataStore::Set(uint32_t pos, uint16_t val) {
|
|||
|
||||
return *this;
|
||||
}
|
||||
|
||||
bool CDataStore::Sub8CBBF0(uint32_t a2) {
|
||||
return this->m_read <= this->m_size && this->m_size - this->m_read >= a2;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -41,6 +41,7 @@ class CDataStore {
|
|||
CDataStore& PutArray(const uint8_t* val, uint32_t count);
|
||||
CDataStore& PutData(const void* val, uint32_t bytes);
|
||||
CDataStore& Set(uint32_t pos, uint16_t val);
|
||||
bool Sub8CBBF0(uint32_t a2);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue