'Does edianness in the global header (.pcap) apply only to the header or to the whole pcap file?

I'm writing a program in python3 to analyze a .pcap file and I'm just wondering if the endianness (little endian or big endian) applies to all packets, or just the main header.

Thanks!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source