lowbyte

Macro lowbyte 

Source
macro_rules! lowbyte {
    ($word:expr) => { ... };
}
Expand description

Get low byte from a 16-bit integer using pointer arithmetic

ยงExamples

let word = 0xABCD;
assert_eq!(highbyte!(word), 0xAB);
assert_eq!(lowbyte!(word), 0xCD);