Function bebop::write_len

source ·
pub fn write_len<W: Write>(dest: &mut W, len: usize) -> SeResult<()>
Expand description

Write a 4-byte length value to the writer.

This should only be called from within an auto-implemented deserialize function or for byte hacking.