// 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_TRIE_TRIE_BIT_BUFFER_H_ #define NET_TOOLS_HUFFMAN_TRIE_TRIE_TRIE_BIT_BUFFER_H_ #include <stdint.h> #include <vector> #include "net/tools/huffman_trie/huffman/huffman_builder.h" namespace net::huffman_trie { class BitWriter; // TrieBitBuffer acts as a buffer for TrieWriter. It can be used to write bits, // characters, and positions. The characters are stored as their // HuffmanRepresentation. Positions are references to other locations in the // trie. class TrieBitBuffer { … }; } // namespace net::huffman_trie #endif // NET_TOOLS_HUFFMAN_TRIE_TRIE_TRIE_BIT_BUFFER_H_