Function rmp::encode::write_bin [] [src]

pub fn write_bin<W>(wr: &mut W, data: &[u8]) -> Result<(), ValueWriteError> where W: Write

Encodes and attempts to write the most efficient binary implementation to the given Write.

Errors

This function will return ValueWriteError on any I/O error occurred while writing either the marker or the data, except the EINTR, which is handled internally.