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

Method CodedOutputData

Core/CodedOutputData.cpp:36–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34namespace mmkv {
35
36CodedOutputData::CodedOutputData(void *ptr, size_t len) : m_ptr((uint8_t *) ptr), m_size(len), m_position(0) {
37 MMKV_ASSERT(m_ptr);
38}
39
40uint8_t *CodedOutputData::curWritePointer() {
41 return m_ptr + m_position;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected