MCPcopy Create free account
hub / github.com/cwida/ALP / ByteIndex

Method ByteIndex

publication/source_code/include/chimp/bit_reader.hpp:68–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66
67 inline uint8_t BitIndex() const { return (index & 7); }
68 inline uint64_t ByteIndex() const { return (index >> 3); }
69
70 inline uint8_t InnerReadByte(const uint8_t& offset) {
71 uint8_t result = input[ByteIndex() + offset] << BitIndex() |

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected