Documentation ¶
Overview ¶
Package bytestats : vec.go implements slice processing utilities.
Index ¶
Constants ¶
View Source
const ( // ByteCount represents the number of possible values a byte can take. ByteCount = 256 // RollingWindow represents the length of splits for a byte slice. RollingWindow = 2048 // SkipStep represents each the number of skipped steps when compuying the entropy // histogram of a byte slice. SkipStep = 1024 )
Variables ¶
This section is empty.
Functions ¶
func ByteEntropyHistogram ¶
ByteEntropyHistogram computes the byte-entropy histogram based on local features following the description in https://arxiv.org/pdf/1508.03096.pdf.
func ByteHistogram ¶
ByteHistogram computes a histogram of byte values according to their indexes, each index i represents the occurrences of the byte value i.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.