Get a reverse block of byte(uint8) using offsets, the result can be part of a left block and right block, length indicates the number of bits to be taken from the right block
| 120 | // part of a left block and right block, length indicates the number of bits |
| 121 | // to be taken from the right block |
| 122 | uint8_t GetReversedBlock(uint8_t block_left, uint8_t block_right, uint8_t length) { |
| 123 | return ReverseUint8(((block_right << 8) + block_left) >> length); |
| 124 | } |
| 125 | |
| 126 | template <TransferMode mode> |
| 127 | void TransferBitmap(const uint8_t* data, int64_t offset, int64_t length, |
no test coverage detected