StringOfHex

Description:

This method formats the current field as a string of hexadecimal numbers, with a space between each byte. See the description for the StringOfASCII Method for information on the "Amount of data to display" parameter.

The "Separator" parameter allows you to specify a string to separate multi-byte fields. The default value of "0" will cause each field to be separated by a space.

Parameters:

[Optional]

Int

"Amount of data to display (0=unlimited)"

(Default value: 0)

[Optional]

Str

"Separator"

(Default value: 0)

Example:

FIELD cont_data (ToEndOfLayer) (StringOfHex 20) "Continuation Report Data"