com.scalacraft.domain.v2.binary.unconstrained
An octet. Can be null.
An octet. Can be null.
A new instance using None
for the octet value when null was supplied.
The numeric value of an octet is hi*256 + lo
.
The numeric value of an octet is hi*256 + lo
. Following a principle that requires the
unconstrained types to use as much information as possible without losing any information
the maximum and minimum values are,
Max: max-int-value * 256 + max-int-value Min: min-int-value * 256 + min-int-value
The match target
None or a breakdown of x
across hi and lo octets.
Matching on an Int will always succeed.
Matching on an Int will always succeed.
The match target
A breakdown of x
across hi and lo octets.
The instance to extract a value from
A string representation of the octet pair as four or more hex characters without any prefix
Given OctetPair(Some(Octet(Some(47))), Some(Octet(Some(128)))) this will return 2f80