ndamiens/hamac

Deal with MAC address

v1.0.3 2019-12-12 23:11 UTC

This package is auto-updated.

Last update: 2024-12-13 10:03:08 UTC


README

Tools who deals with mac addresses

Hamac::mac2bin("ae:cb:c7:16:e1:56");

# 192190241759574

Hamac::mac2bin("ae cb-c7 16:E1:56");

# 192190241759574

Hamac::isInRange(
	Hamac::mac2bin("ae:cb:c7:16:e1:56"),
	Hamac::mac2bin("ae:cb:c7:16:e1:00"),
	Hamac::mac2bin("ae:cb:c7:16:e1:ff")
);

# true