Documentation
¶
Overview ¶
Package probeutils implements utilities that are shared across multiple probe types.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PatternPayload ¶
func PatternPayload(payload, pattern []byte)
PatternPayload builds a payload that can be verified using VerifyPayloadPattern. It repeats the pattern to fill the payload []byte slice. Last remaining bytes (len(payload) mod patternSize) are left unpopulated (hence set to 0 bytes).
func VerifyPayloadPattern ¶
VerifyPayloadPattern verifies the payload built using PatternPayload.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.