Class OxmDeserializerHelper


  • public final class OxmDeserializerHelper
    extends Object
    Utilities for Oxm deserialization.
    Author:
    michal.polkorab
    • Method Detail

      • convertMask

        public static byte[] convertMask​(io.netty.buffer.ByteBuf input,
                                         int matchEntryLength)
        Converts binary data into binary mask (for match entries).
        Parameters:
        input - input ByteBuf
        matchEntryLength - mask length
        Returns:
        binary mask
      • convertMacAddress

        public static org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress convertMacAddress​(io.netty.buffer.ByteBuf input)
        Converts binary data into mac address.
        Parameters:
        input - input ByteBuf
        Returns:
        mac address