blob: 901f5ba18d48b19939b445dfe8cce871764c5e2a [file] [log] [blame]
// Copyright 2018 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.
#include "base/sys_byteorder.h"
inline uint16_t SpdyNetToHost16Impl(uint16_t x) {
return base::NetToHost16(x);
inline uint32_t SpdyNetToHost32Impl(uint32_t x) {
return base::NetToHost32(x);
inline uint64_t SpdyNetToHost64Impl(uint64_t x) {
return base::NetToHost64(x);
inline uint16_t SpdyHostToNet16Impl(uint16_t x) {
return base::HostToNet16(x);
inline uint32_t SpdyHostToNet32Impl(uint32_t x) {
return base::HostToNet32(x);
inline uint64_t SpdyHostToNet64Impl(uint64_t x) {
return base::HostToNet64(x);