object MacAddress
- Companion
- class
Value members
Concrete methods
Constructs a MacAddress
from a 6-element byte array. Returns Some
when array is exactly 6-bytes and None
otherwise.
Constructs a MacAddress
from a 6-element byte array. Returns Some
when array is exactly 6-bytes and None
otherwise.
Constructs a MacAddress
from the specified 6 bytes.
Constructs a MacAddress
from the specified 6 bytes.
Each byte is represented as an Int
to avoid having to manually call .toByte
on each value -- the toByte
call
is done inside this function.
Constructs a MacAddress
from a Long
, using the lower 48-bits.
Constructs a MacAddress
from a Long
, using the lower 48-bits.