Package probeutils implements utilities that are shared across multiple probe types.
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).
VerifyPayloadPattern verifies the payload built using PatternPayload.