ExPcap.GlobalHeader.reverse_bytes-question-mark

You're seeing just the function reverse_bytes-question-mark, go back to ExPcap.GlobalHeader module for more information.
Link to this function

reverse_bytes?(global_header)

View Source

Specs

reverse_bytes?(t()) :: boolean()

Returns true if the global header indicates that the bytes need to be reversed.

Examples

iex> ExPcap.GlobalHeader.reverse_bytes?( %ExPcap.GlobalHeader{magic_number: %ExPcap.MagicNumber{reverse_bytes: false}})
false
iex> ExPcap.GlobalHeader.reverse_bytes?( %ExPcap.GlobalHeader{magic_number: %ExPcap.MagicNumber{reverse_bytes: true}})
true