chromium/net/third_party/quiche/src/quiche/quic/core/qpack/qpack_index_conversions.cc

// Copyright (c) 2019 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 "quiche/quic/core/qpack/qpack_index_conversions.h"

#include <limits>

#include "quiche/quic/platform/api/quic_logging.h"

namespace quic {

uint64_t QpackAbsoluteIndexToEncoderStreamRelativeIndex(
    uint64_t absolute_index, uint64_t inserted_entry_count) {}

uint64_t QpackAbsoluteIndexToRequestStreamRelativeIndex(uint64_t absolute_index,
                                                        uint64_t base) {}

bool QpackEncoderStreamRelativeIndexToAbsoluteIndex(
    uint64_t relative_index, uint64_t inserted_entry_count,
    uint64_t* absolute_index) {}

bool QpackRequestStreamRelativeIndexToAbsoluteIndex(uint64_t relative_index,
                                                    uint64_t base,
                                                    uint64_t* absolute_index) {}

bool QpackPostBaseIndexToAbsoluteIndex(uint64_t post_base_index, uint64_t base,
                                       uint64_t* absolute_index) {}

}  // namespace quic