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

Method CodedInputData

Core/CodedInputData.cpp:36–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34namespace mmkv {
35
36CodedInputData::CodedInputData(const void *oData, size_t length)
37 : m_ptr((uint8_t *) oData), m_size(length), m_position(0) {
38 MMKV_ASSERT(m_ptr);
39}
40
41void CodedInputData::seek(size_t addedSize) {
42 if (m_position + addedSize > m_size) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected