use super::*;
pub(crate) struct PooledSlice<T>(pub(crate) Vec<T>);
#[derive(Default)]
pub(crate) struct BrotliTlAlloc;
#[derive(Default)]
pub(crate) struct BrotliBufferPool {
pub(crate) buf_u8: Vec<Vec<u8>>,
pub(crate) buf_u16: Vec<Vec<u16>>,
pub(crate) buf_i32: Vec<Vec<i32>>,
pub(crate) buf_u32: Vec<Vec<u32>>,
pub(crate) buf_u64: Vec<Vec<u64>>,
pub(crate) buf_command: Vec<Vec<Command>>,
pub(crate) buf_float: Vec<Vec<floatX>>,
pub(crate) buf_v8: Vec<Vec<v8>>,
pub(crate) buf_s16: Vec<Vec<s16>>,
pub(crate) buf_pdf: Vec<Vec<PDF>>,
pub(crate) buf_static_command: Vec<Vec<StaticCommand>>,
pub(crate) buf_hist_literal: Vec<Vec<HistogramLiteral>>,
pub(crate) buf_hist_command: Vec<Vec<HistogramCommand>>,
pub(crate) buf_hist_distance: Vec<Vec<HistogramDistance>>,
pub(crate) buf_hist_pair: Vec<Vec<HistogramPair>>,
pub(crate) buf_context_type: Vec<Vec<ContextType>>,
pub(crate) buf_huffman_tree: Vec<Vec<HuffmanTree>>,
pub(crate) buf_zopfli_node: Vec<Vec<ZopfliNode>>,
pub(crate) buf_huffman_code: Vec<Vec<HuffmanCode>>,
}
pub(crate) struct BrotliEncoderGuard(pub(crate) BrotliEncoderStateStruct<BrotliTlAlloc>);