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

// 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 "quiche/quic/core/qpack/qpack_instruction_decoder.h"

#include <algorithm>
#include <string>
#include <utility>

#include "absl/strings/string_view.h"
#include "quiche/quic/platform/api/quic_bug_tracker.h"
#include "quiche/quic/platform/api/quic_logging.h"

namespace quic {

namespace {

// Maximum length of header name and header value.  This limits the amount of
// memory the peer can make the decoder allocate when sending string literals.
const size_t kStringLiteralLengthLimit =;

}  // namespace

QpackInstructionDecoder::QpackInstructionDecoder(const QpackLanguage* language,
                                                 Delegate* delegate)
    :{}

bool QpackInstructionDecoder::Decode(absl::string_view data) {}

bool QpackInstructionDecoder::AtInstructionBoundary() const {}

bool QpackInstructionDecoder::DoStartInstruction(absl::string_view data) {}

bool QpackInstructionDecoder::DoStartField() {}

bool QpackInstructionDecoder::DoReadBit(absl::string_view data) {}

bool QpackInstructionDecoder::DoVarintStart(absl::string_view data,
                                            size_t* bytes_consumed) {}

bool QpackInstructionDecoder::DoVarintResume(absl::string_view data,
                                             size_t* bytes_consumed) {}

bool QpackInstructionDecoder::DoVarintDone() {}

bool QpackInstructionDecoder::DoReadString(absl::string_view data,
                                           size_t* bytes_consumed) {}

bool QpackInstructionDecoder::DoReadStringDone() {}

const QpackInstruction* QpackInstructionDecoder::LookupOpcode(
    uint8_t byte) const {}

void QpackInstructionDecoder::OnError(ErrorCode error_code,
                                      absl::string_view error_message) {}

}  // namespace quic