Function binbin::write_le [−][src]
pub fn write_le<W, F, R>(w: &mut W, f: F) -> Result<R> where
W: Write + Seek,
for<'w> F: FnOnce(&mut Writer<'w, &mut W, LittleEndian>) -> Result<R>,
Expand description
Writes arbitrary binary data to the given writer w
using the given
function f
, where writes will be little-endian by default.
The given function – generally a closure – establishes the lifetime for
any deferred values, so that write_le
can ensure that all
deferred values are taken care of before returning.