#include "quiche/quic/core/qpack/qpack_instruction_encoder.h"
#include <limits>
#include <string>
#include "absl/strings/str_cat.h"
#include "absl/strings/string_view.h"
#include "quiche/http2/hpack/huffman/hpack_huffman_encoder.h"
#include "quiche/http2/hpack/varint/hpack_varint_encoder.h"
#include "quiche/quic/platform/api/quic_flags.h"
#include "quiche/quic/platform/api/quic_logging.h"
namespace quic {
QpackInstructionEncoder::QpackInstructionEncoder(
HuffmanEncoding huffman_encoding)
: … { … }
void QpackInstructionEncoder::Encode(
const QpackInstructionWithValues& instruction_with_values,
std::string* output) { … }
void QpackInstructionEncoder::DoOpcode() { … }
void QpackInstructionEncoder::DoStartField() { … }
void QpackInstructionEncoder::DoSBit(bool s_bit) { … }
void QpackInstructionEncoder::DoVarintEncode(uint64_t varint, uint64_t varint2,
std::string* output) { … }
void QpackInstructionEncoder::DoStartString(absl::string_view name,
absl::string_view value) { … }
void QpackInstructionEncoder::DoWriteString(absl::string_view name,
absl::string_view value,
std::string* output) { … }
}