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

Method ReadValue

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

Source from the content-addressed store, hash-verified

136
137 template <class T, uint8_t SIZE>
138 inline T ReadValue() {
139 constexpr uint8_t BYTES = (SIZE >> 3);
140 constexpr uint8_t REMAINDER = (SIZE & 7);
141 return ReadBytes<T, BYTES>(REMAINDER);
142 }
143
144 template <class T>
145 inline T ReadValue(const uint8_t& size) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected