| 376 | */ |
| 377 | template<typename T> |
| 378 | T getNext() { |
| 379 | assert(currPackedValue < endOfValues); |
| 380 | |
| 381 | uint8_t nibble = (onFirstNibble) ? nibblePosition->first |
| 382 | : nibblePosition->second; |
| 383 | |
| 384 | T ret = unpack<T>(&currPackedValue, nibble); |
| 385 | |
| 386 | if (!onFirstNibble) |
| 387 | ++nibblePosition; |
| 388 | |
| 389 | onFirstNibble = !onFirstNibble; |
| 390 | |
| 391 | return ret; |
| 392 | } |
| 393 | |
| 394 | /** |
| 395 | * Returns a pointer to to the first byte beyond the last pack()-ed value |
nothing calls this directly
no outgoing calls
no test coverage detected