pub fn to_writer<W: Write>(
writer: W,
dom: &WeakDom,
refs: &[Ref],
) -> Result<(), EncodeError>
Expand description
Serializes a subset of the given DOM to a binary format model or place,
writing to something that implements the std::io::Write
trait.