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