pub fn write_bin<W: RmpWrite>(
wr: &mut W,
data: &[u8],
) -> Result<(), ValueWriteError<W::Error>>
Expand description
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.