pub fn encode(b: &IBeacon) -> Vec<u8> ⓘ
Encodes an iBeacon as manufacturer data (after the company identifier), for advertising one.