| 36 | : inputBuffer(inputBuffer), |
| 37 | outputBuffer(std::make_unique<uint8_t[]>(numValues * sizeof(T))) {} |
| 38 | T getValue(offset_t offset) const { return reinterpret_cast<const T*>(inputBuffer)[offset]; } |
| 39 | void setValue(offset_t offset, T element) { |
| 40 | reinterpret_cast<T*>(outputBuffer.get())[offset] = element; |
| 41 | } |
no outgoing calls
no test coverage detected