// 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_READER_H_ #define SRC_PUFF_READER_H_ #include <cstddef> #include <cstdint> #include "puffin/src/include/puffin/common.h" #include "puffin/src/puff_data.h" namespace puffin { // An abstract class for reading data from 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 PuffReaderInterface { … }; class BufferPuffReader : public PuffReaderInterface { … }; } // namespace puffin #endif // SRC_PUFF_READER_H_