Ipv4.deserialize constructor

Ipv4.deserialize(
  1. CborBytesValue cbor
)

Deserialize an IPv4 instance from CBOR data.

Implementation

factory Ipv4.deserialize(CborBytesValue cbor) {
  return Ipv4(cbor.getValue());
}