Remover cabeçalho UDP

Remove o cabeçalho do protocolo e retorna o payload; exige cabeçalho completo.

Entrada: Texto (UTF-8) / Um arquivoResultado: Bytes binários

Entrada de texto

Execute para ver o resultado

Exemplos

Recover an eight-byte local payload 1

Recover an eight-byte local payload 1. Run the example, then compare the stated answer and settings.

Entrada

6932a470a4ea51896c5c1a78.bin

16 bytes

Baixar

Expected answer

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.

Entrada

b3742354ee00b5762e208c70.bin

16 bytes

Baixar

Expected answer

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.

Entrada

54009ec8709231ca003c54c5.bin

16 bytes

Baixar

Expected answer

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.

Entrada

cc221b86fed372bb902078a7.bin

16 bytes

Baixar

Expected answer

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.

Entrada

e6996f1b358c827b754dd96a.bin

16 bytes

Baixar

Expected answer

sample5!
Input length less than header length

Entrada

f049e62e5fb09288c7977066.bin

7 bytes

Baixar

Expected rejection

Message contains
Need 8 bytes for a UDP Header
No payload

Entrada

65477bbde41386a14797b590.bin

8 bytes

Baixar

Expected answer

Empty result
Payload

Entrada

da32fa325aeace211b130e14.bin

16 bytes

Baixar

Expected answer

Hexadecimal bytes
OffsetHex bytesASCII
00000000ff ff ff ff ff ff ff ff........

Ferramentas relacionadas

Redes

Referência da operação

Ver a documentação técnica original (English)