Splits the buffer into segments of windowSize bytes and calculates the entropy of each. Returns the complete file map.
windowSize
Complete buffer
Size of each window in bytes (default: 256)
Step between windows (default: equal to windowSize)
If true, skips final segments that are too small (< 50% of windowSize)
Splits the buffer into segments of
windowSizebytes and calculates the entropy of each. Returns the complete file map.