| 34 | namespace mmkv { |
| 35 | |
| 36 | CodedInputData::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 | |
| 41 | void CodedInputData::seek(size_t addedSize) { |
| 42 | if (m_position + addedSize > m_size) { |
nothing calls this directly
no outgoing calls
no test coverage detected