Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tencent/MMKV
/ writeFloat
Method
writeFloat
Core/CodedOutputData.cpp:48–50 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
46
}
47
48
void CodedOutputData::writeFloat(float value) {
49
this->writeRawLittleEndian32(Float32ToInt32(value));
50
}
51
52
void CodedOutputData::writeInt64(int64_t value) {
53
this->writeRawVarint64(value);
Callers
2
set
Method · 0.80
getEncodeData
Method · 0.80
Calls
2
writeRawLittleEndian32
Method · 0.95
Float32ToInt32
Function · 0.85
Tested by
no test coverage detected