#include "quiche/quic/core/quic_data_reader.h"
#include "absl/strings/string_view.h"
#include "quiche/quic/core/quic_packets.h"
#include "quiche/quic/core/quic_utils.h"
#include "quiche/quic/platform/api/quic_bug_tracker.h"
#include "quiche/quic/platform/api/quic_flags.h"
#include "quiche/common/quiche_endian.h"
namespace quic {
QuicDataReader::QuicDataReader(absl::string_view data)
: … { … }
QuicDataReader::QuicDataReader(const char* data, const size_t len)
: … { … }
QuicDataReader::QuicDataReader(const char* data, const size_t len,
quiche::Endianness endianness)
: … { … }
bool QuicDataReader::ReadUFloat16(uint64_t* result) { … }
bool QuicDataReader::ReadConnectionId(QuicConnectionId* connection_id,
uint8_t length) { … }
bool QuicDataReader::ReadLengthPrefixedConnectionId(
QuicConnectionId* connection_id) { … }
#undef ENDPOINT
}