EntropyAccumulator.add

Add entropy to the accumulator

  1. void add(void* bytes, size_t length, double entropy_bits_per_byte)
    struct EntropyAccumulator
    void
    add
    (
    const void* bytes
    ,
    size_t length
    ,)
  2. void add(T v, double entropy_bits_per_byte)

Parameters

bytes void*

the input bytes

length size_t

specifies how many bytes the input is

entropy_bits_per_byte double

is a best guess at how much entropy per ubyte is in this input

Meta