5 #ifndef PACKAGER_MEDIA_BASE_NETWORK_UTIL_H_ 6 #define PACKAGER_MEDIA_BASE_NETWORK_UTIL_H_ 13 uint32_t ntohlFromBuffer(
const unsigned char* buf);
14 uint16_t ntohsFromBuffer(
const unsigned char* buf);
15 uint64_t ntohllFromBuffer(
const unsigned char* buf);
20 #endif // PACKAGER_MEDIA_BASE_NETWORK_UTIL_H_ All the methods that are virtual are virtual for mocking.