// Copyright (c) 2012 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. #ifndef QUICHE_QUIC_CORE_QUIC_DATA_WRITER_H_ #define QUICHE_QUIC_CORE_QUIC_DATA_WRITER_H_ #include <cstddef> #include <cstdint> #include "absl/strings/string_view.h" #include "quiche/quic/core/crypto/quic_random.h" #include "quiche/quic/core/quic_types.h" #include "quiche/quic/platform/api/quic_export.h" #include "quiche/common/quiche_data_writer.h" #include "quiche/common/quiche_endian.h" namespace quic { // This class provides facilities for packing QUIC data. // // The QuicDataWriter supports appending primitive values (int, string, etc) // to a frame instance. The internal memory buffer is exposed as the "data" // of the QuicDataWriter. class QUICHE_EXPORT QuicDataWriter : public quiche::QuicheDataWriter { … }; } // namespace quic #endif // QUICHE_QUIC_CORE_QUIC_DATA_WRITER_H_