Skip to main content

macaddr8_in

Function macaddr8_in 

Source
pub fn macaddr8_in(s: &str) -> Result<u64, TypeError>
Expand description

macaddr8_in: 6 or 8 bytes of 2 hex digits, with the same :, - or . between them or with nothing between them. White space can come before and after the address. A 6-byte address gets ff:fe as the 4th and 5th bytes.

ยงErrors

22P02 for text that is not an address.