Examples
Recover an eight-byte local payload 1
Recover an eight-byte local payload 1. Run the example, then compare the stated answer and settings.
Input
16 bytes
DownloadExpected answer
sample1!sample1!
Recover an eight-byte local payload 2
Recover an eight-byte local payload 2. Run the example, then compare the stated answer and settings.
Input
16 bytes
DownloadExpected answer
sample2!sample2!
Recover an eight-byte local payload 3
Recover an eight-byte local payload 3. Run the example, then compare the stated answer and settings.
Input
16 bytes
DownloadExpected answer
sample3!sample3!
Recover an eight-byte local payload 4
Recover an eight-byte local payload 4. Run the example, then compare the stated answer and settings.
Input
16 bytes
DownloadExpected answer
sample4!sample4!
Recover an eight-byte local payload 5
Recover an eight-byte local payload 5. Run the example, then compare the stated answer and settings.
Input
16 bytes
DownloadExpected answer
sample5!sample5!
Input length less than header length
Input
7 bytes
DownloadExpected rejection
Message containsNeed 8 bytes for a UDP HeaderNo payload
Input
8 bytes
DownloadExpected answer
Empty resultPayload
Input
16 bytes
DownloadExpected answer
Hexadecimal bytes| Offset | Hex bytes | ASCII |
|---|---|---|
| 00000000 | ff ff ff ff ff ff ff ff | ........ |
ff ff ff ff ff ff ff ff
Format reference: Strip UDP header background and specification