Class OxmDeserializerHelper
- java.lang.Object
-
- org.opendaylight.openflowjava.protocol.impl.deserialization.match.OxmDeserializerHelper
-
public final class OxmDeserializerHelper extends Object
Utilities for Oxm deserialization.- Author:
- michal.polkorab
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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.static byte[]
convertMask(io.netty.buffer.ByteBuf input, int matchEntryLength)
Converts binary data into binary mask (for match entries).
-
-
-
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 ByteBufmatchEntryLength
- 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
-
-