mirror of
https://github.com/Tencent/MMKV.git
synced 2026-10-17 04:30:56 +08:00
merge iOS to Core lib: most things actually work
This commit is contained in:
@@ -37,6 +37,10 @@ CodedOutputData::CodedOutputData(void *ptr, size_t len)
|
||||
assert(m_ptr);
|
||||
}
|
||||
|
||||
uint8_t *CodedOutputData::curWritePointer() {
|
||||
return m_ptr + m_position;
|
||||
}
|
||||
|
||||
void CodedOutputData::writeDouble(double value) {
|
||||
this->writeRawLittleEndian64(Float64ToInt64(value));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user