Function capnp::serialize::write_message [−][src]
pub fn write_message<W, A>(write: W, message: &Builder<A>) -> Result<()> where
W: Write,
A: Allocator, Writes the provided message to write.
For optimal performance, write should be a buffered writer. flush will not be called on
the writer.