README.dissector: Add note to add 2 encodings for FT_UINT_BYTES in proto_tree_add_item

Change-Id: I728091998c531c992aa1b741b03e653460a0e77f
Reviewed-on: https://code.wireshark.org/review/24499
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot
Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
Michael Mann 2017-11-19 20:26:50 -05:00
parent 51ff1df443
commit 5b55848789
1 changed files with 4 additions and 0 deletions

View File

@ -1566,6 +1566,10 @@ FT_AX25, FT_VINES, FT_SYSTEM_ID, FT_FCWWN fields, and 'protocol' fields
the encoding is not relevant; the 'encoding' argument should be
ENC_NA (Not Applicable).
For FT_UINT_BYTES fields, the byte order of the count must be specified
as well as the 'encoding' for bytes which should be ENC_NA,
i.e. ENC_LITTLE_ENDIAN|ENC_NA
For integral, floating-point, Boolean, FT_GUID, and FT_EUI64 fields,
the encoding specifies the byte order of the value; the 'encoding'
argument should be ENC_LITTLE_ENDIAN if the value is little-endian