pub fn to_writer<W: Write + Seek>(
    w: W,
    obj: &Object<'_>
) -> Result<(), SymCacheError>
Expand description

Given a writer and object, dumps the object into the writer.

In case a symcache is to be constructed from memory the SymCache::from_object method can be used instead.

This requires the writer to be seekable.