| 118 | } |
| 119 | |
| 120 | void CodedOutputData::writeRawByte(uint8_t value) { |
| 121 | if (m_position == m_size) { |
| 122 | throw out_of_range("m_position: " + to_string(m_position) + " m_size: " + to_string(m_size)); |
| 123 | return; |
| 124 | } |
| 125 | |
| 126 | m_ptr[m_position++] = value; |
| 127 | } |
| 128 | |
| 129 | void CodedOutputData::writeRawData(const MMBuffer &data) { |
| 130 | size_t numberOfBytes = data.length(); |
no test coverage detected