#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 {
const size_t kStringLiteralLengthLimit = …;
}
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) { … }
}