-- | String encoding (7+) with a temporary buffer whose size is 4096.
encodeString :: Bool       -- ^ Use Huffman if efficient
             -> ByteString -- ^ Target
             -> IO ByteString
encodeString h bs = withWriteBuffer 4096 $ \wbuf -> encStr wbuf h bs
encodeString :: Bool       -- ^ Use Huffman if efficient
             -> ByteString -- ^ Target
             -> IO ByteString
encodeString h bs = withWriteBuffer 4096 $ \wbuf -> encStr wbuf h bs
encodeString h bs = withWriteBuffer 4096 $ \wbuf -> encStr wbuf h bs