Parses asc
and converts it to binary form in a ByteArray.
See hwaddr_aton if you don't want a ByteArray.
asc |
the ASCII representation of a hardware address |
type |
the type of address; either ARPHRD_ETHER or ARPHRD_INFINIBAND |
a new ByteArray, or |