chromium/net/tools/huffman_trie/bit_writer.h

// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef NET_TOOLS_HUFFMAN_TRIE_BIT_WRITER_H_
#define NET_TOOLS_HUFFMAN_TRIE_BIT_WRITER_H_

#include <stdint.h>

#include <vector>

namespace net::huffman_trie {

// BitWriter acts as a buffer to which bits can be written. The bits are stored
// as bytes in a vector. BitWriter will buffer bits until it contains 8 bits at
// which point they will be appended to the vector automatically.
class BitWriter {};

}  // namespace net::huffman_trie

#endif  // NET_TOOLS_HUFFMAN_TRIE_BIT_WRITER_H_