Shaka Packager SDK
network_util.h
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef PACKAGER_MEDIA_BASE_NETWORK_UTIL_H_
6 #define PACKAGER_MEDIA_BASE_NETWORK_UTIL_H_
7 
8 #include <stdint.h>
9 
10 namespace shaka {
11 namespace media {
12 
13 uint32_t ntohlFromBuffer(const unsigned char* buf);
14 uint16_t ntohsFromBuffer(const unsigned char* buf);
15 uint64_t ntohllFromBuffer(const unsigned char* buf);
16 
17 } // namespace media
18 } // namespace shaka
19 
20 #endif // PACKAGER_MEDIA_BASE_NETWORK_UTIL_H_
shaka
All the methods that are virtual are virtual for mocking.
Definition: gflags_hex_bytes.cc:11