Skip to main content

write_network_to

Function write_network_to 

Source
pub fn write_network_to(network: &Network, sink: impl Write) -> Result<()>
Expand description

Same as write_network, for callers that want the .net.xml bytes somewhere other than a file on disk (an in-memory buffer, a socket, …).

§Errors

Same as write_network, minus the failure to create a file.