Skip to main content

unit_len

Function unit_len 

Source
pub fn unit_len(width: usize) -> usize
Expand description

How many bytes a whole unit of u64 words occupies on the wire at the given width.

The serialized form of a full unit is packed_len words written little endian, so this is what a reader takes out of a chunk before handing it to unpack_unit_into.