shaka-packager/packager/media/base/network_util.h

21 lines
567 B
C
Raw Normal View History

// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef PACKAGER_MEDIA_BASE_NETWORK_UTIL_H_
#define PACKAGER_MEDIA_BASE_NETWORK_UTIL_H_
#include <stdint.h>
namespace shaka {
namespace media {
uint32_t ntohlFromBuffer(const unsigned char* buf);
uint16_t ntohsFromBuffer(const unsigned char* buf);
uint64_t ntohllFromBuffer(const unsigned char* buf);
} // namespace media
} // namespace shaka
#endif // PACKAGER_MEDIA_BASE_NETWORK_UTIL_H_