29#ifndef __MEM_CACHE_COMPRESSORS_ENCODERS_BASE_HH__
30#define __MEM_CACHE_COMPRESSORS_ENCODERS_BASE_HH__
80 virtual uint64_t
decode(
const uint64_t code)
const = 0;
virtual Code encode(const uint64_t val) const =0
The function responsible for the generation of the alternative value.
virtual uint64_t decode(const uint64_t code) const =0
Decode a value.
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
unsigned length
Number of bits in the code.
uint64_t code
Only the LSB of the code are relevant.