#include "quiche/quic/core/quic_data_writer.h"
#include <algorithm>
#include <limits>
#include "absl/strings/string_view.h"
#include "quiche/quic/core/crypto/quic_random.h"
#include "quiche/quic/core/quic_constants.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 {
QuicDataWriter::QuicDataWriter(size_t size, char* buffer)
: … { … }
QuicDataWriter::QuicDataWriter(size_t size, char* buffer,
quiche::Endianness endianness)
: … { … }
QuicDataWriter::~QuicDataWriter() { … }
bool QuicDataWriter::WriteUFloat16(uint64_t value) { … }
bool QuicDataWriter::WriteConnectionId(QuicConnectionId connection_id) { … }
bool QuicDataWriter::WriteLengthPrefixedConnectionId(
QuicConnectionId connection_id) { … }
bool QuicDataWriter::WriteRandomBytes(QuicRandom* random, size_t length) { … }
bool QuicDataWriter::WriteInsecureRandomBytes(QuicRandom* random,
size_t length) { … }
}