On Tue, 2002-03-12 at 14:40, Richard Sharpe wrote: > Hi, > > Do the routines proto_tree_add_item treat data in the tvb as if it is in > network byte order when adding a UINT32 or UINT16, for example? > > Regards > ----- > Richard Sharpe, [EMAIL PROTECTED], [EMAIL PROTECTED], > [EMAIL PROTECTED] > >
You tell it; that's why proto_tree_add_item() has the little_endian argument, TRUE if little-endian, FALSE if big-endian (network order). --gilbert
