StringOfAscii

Description:

This method formats the current field as a string of ASCII characters. Non-printable characters are displayed as dots.

The optional parameter indicates how many characters to display in the Decode pane of the Frame Display window. Setting a value here does not affect the actual size of the field, merely prevents very long character strings from being displayed. If there is more data in the field when the parameter value is reached, an ellipsis (...) is displayed in the Decode pane. The default value of zero means that the entire contents of the field will be shown, regardless of length.

Parameters:

[Optional]

Int

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

(Default value: 0)

Example:

FIELD payload_data (ToEndOfLayer) (StringOfAscii) "Payload"