| 143 | } |
| 144 | |
| 145 | void print(const size_t& pos, const size_t& expectedPos, |
| 146 | size_t& prevPos, bool& readPosOk, std::string type) |
| 147 | { |
| 148 | if (pos != expectedPos && readPosOk) { |
| 149 | std::cerr << "ERROR: Read " << type << " -- Prev position: " << prevPos << ". Read: " |
| 150 | << pos << ". Expected: " << expectedPos << std::endl; |
| 151 | readPosOk = false; |
| 152 | } |
| 153 | prevPos = pos; |
| 154 | } |
| 155 | |
| 156 | bool extractions(Serializer& serializer, Values& values, |
| 157 | const Encoding& encoding, const bool checkPos) |
no outgoing calls
no test coverage detected