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

Method writeData

Core/CodedOutputData.cpp:76–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76void CodedOutputData::writeData(const MMBuffer &value) {
77 this->writeRawVarint32((int32_t) value.length());
78 this->writeRawData(value);
79}
80
81void CodedOutputData::writeString(const string &value) {
82 size_t numberOfBytes = value.size();

Callers 7

setDataForKeyMethod · 0.80
doAppendDataWithKeyMethod · 0.80
doOverrideDataWithKeyMethod · 0.80
writeRootObjectMethod · 0.80
encodeDataWithObjectMethod · 0.80
MMKV_OSX.cppFile · 0.80
testAESToMMBufferMethod · 0.80

Calls 2

writeRawVarint32Method · 0.95
writeRawDataMethod · 0.95

Tested by

no test coverage detected