// Copyright 2017 The Chromium OS 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 SRC_PUFF_WRITER_H_ #define SRC_PUFF_WRITER_H_ #include <cstddef> #include <cstdint> #include "puffin/src/include/puffin/common.h" #include "puffin/src/puff_data.h" namespace puffin { // An abstract class for writing data into a puffed buffer. Data can be // literals, lengths, distances, or metadata. Extensions of this class can // define how the puffed data should reside in the puffed buffer. class PuffWriterInterface { … }; class BufferPuffWriter : public PuffWriterInterface { … }; } // namespace puffin #endif // SRC_PUFF_WRITER_H_