pub fn from_bytes(mac: &[u8]) -> WolPacket {
        WolPacket {
            packet: WolPacket::create_packet_bytes(mac),
        }
    }
/// Creates WOL packet from byte MAC representation
/// # Example
/// ```
/// let wol = wakey::WolPacket::from_bytes(&vec![0x00, 0x01, 0x02, 0x03, 0x04, 0x05]);
/// ```
Creates WOL packet from byte MAC representation
Creates WOL packet from byte MAC representation
pub fn from_bytes(mac: &[u8]) -> WolPacket {
        WolPacket {
            packet: WolPacket::create_packet_bytes(mac),
        }
    }
pub fn from_bytes ( mac : & [ u8 ] ) -> WolPacket { WolPacket { packet : WolPacket :: create_packet_bytes ( mac ) , } }
Creates WOL packet from byte MAC representation
Creates WOL packet from byte MAC representation
mac
&[u8]
example
None