forked from osmocom/wireshark
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:
parent
51ff1df443
commit
5b55848789
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue