| 227 | |
| 228 | |
| 229 | void ExtraBytesIf::setType(uint8_t lastype) |
| 230 | { |
| 231 | m_fieldCnt = 1; |
| 232 | while (lastype > 10) |
| 233 | { |
| 234 | m_fieldCnt++; |
| 235 | lastype -= 10; |
| 236 | } |
| 237 | |
| 238 | m_type = lastypes[lastype]; |
| 239 | if (m_type == Dimension::Type::None) |
| 240 | m_fieldCnt = 0; |
| 241 | } |
| 242 | |
| 243 | |
| 244 | void ExtraBytesIf::appendTo(std::vector<char>& ebBytes) |