38 const virtual void fieldsToJSON(std::stringstream& outs,
size_t level)
41 outs <<
"\"" << std::hex <<
area_start <<
"\"";
44 outs <<
"\"" << std::hex <<
area_size <<
"\"";
AreaEntropyStats(const AreaEntropyStats &p1)
virtual const void fieldsToJSON(std::stringstream &outs, size_t level)
std::map< BYTE, size_t > histogram
void _appendVal(BYTE val)
A class responsible for filling in the statistics with the data from the particular buffer.
Base class for the statistics from analyzed buffer.
double calcShannonEntropy(std::map< T, size_t > &histogram, size_t totalSize)