get a base code by the byte number and sub index
| 429 | |
| 430 | // get a base code by the byte number and sub index |
| 431 | static uint8_t getBaseCode(const char* pSeq, |
| 432 | unsigned byteNum, unsigned index) |
| 433 | { |
| 434 | unsigned shiftLen = 2 * (3 - index); |
| 435 | return (pSeq[byteNum] >> shiftLen) & 0x3; |
| 436 | } |
| 437 | |
| 438 | static unsigned seqIndexToByteNumber(unsigned seqIndex) |
| 439 | { |
no outgoing calls
no test coverage detected