| 39 | } |
| 40 | |
| 41 | bool deserializer::deserialize(uint8_t& _value) { |
| 42 | if (0 == remaining_) |
| 43 | return false; |
| 44 | |
| 45 | _value = *position_++; |
| 46 | |
| 47 | remaining_--; |
| 48 | return true; |
| 49 | } |
| 50 | |
| 51 | bool deserializer::deserialize(uint16_t& _value) { |
| 52 | if (2 > remaining_) |
no test coverage detected