DASH Media Packaging SDK
 All Classes Namespaces Functions Variables Typedefs
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 MEDIA_BASE_NETWORK_UTIL_H_
6 #define MEDIA_BASE_NETWORK_UTIL_H_
7 
8 #include <stdint.h>
9 
10 namespace edash_packager {
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 edash_packager
19 
20 #endif // MEDIA_BASE_NETWORK_UTIL_H_