// 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_BIT_WRITER_H_ #define SRC_BIT_WRITER_H_ #include <cstddef> #include <cstdint> #include "puffin/src/include/puffin/common.h" namespace puffin { // An abstract class for writing bits into a deflate stream. For more // information on the pattern of writing, refer to RFC1951 at // https://www.ietf.org/rfc/rfc1951.txt class BitWriterInterface { … }; // A raw buffer implementation of |BitWriterInterface|. class BufferBitWriter : public BitWriterInterface { … }; } // namespace puffin #endif // SRC_BIT_WRITER_H_