MCPcopy Create free account
hub / github.com/Tencent/MMKV / writeDouble

Method writeDouble

Core/CodedOutputData.cpp:44–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42}
43
44void CodedOutputData::writeDouble(double value) {
45 this->writeRawLittleEndian64(Float64ToInt64(value));
46}
47
48void CodedOutputData::writeFloat(float value) {
49 this->writeRawLittleEndian32(Float32ToInt32(value));

Callers 3

setMethod · 0.80
writeRootObjectMethod · 0.80
getEncodeDataMethod · 0.80

Calls 2

Float64ToInt64Function · 0.85

Tested by

no test coverage detected