tests/FILEFORMAT.md: clarify %hex[] formatting

Closes #17332
This commit is contained in:
Daniel Stenberg 2025-05-13 08:15:57 +02:00
parent 9243ed59b3
commit abd400a972
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -55,9 +55,11 @@ To insert a sequence of bytes from a hex encoded string, use this syntax:
%hex[ %XX-encoded data to decode ]hex%
Other bytes within the brackets that not percent encoded are inserted as-is.
For example, to insert the binary octets 0, 1 and 255 into the test file:
%hex[ %00%01%FF ]hex%
%hex[%00%01%FF]hex%
## Repeat content