Function syntect::dumps::dump_to_writer

source ·
pub fn dump_to_writer<T: Serialize, W: Write>(
    to_dump: &T,
    output: W
) -> Result<()>
Expand description

Dumps an object to the given writer in a compressed binary format

The writer is encoded with the bincode crate and compressed with flate2.