copy_be

Macro copy_be 

Source
macro_rules! copy_be {
    ($dest:expr, $src:expr, $range:expr) => { ... };
}
Expand description

Syntax helper for converting primitives to multi-byte fields.

Example: copy_be!(bytes, self.position, 5..9);