@Override public IpV6NeighborDiscoverySourceLinkLayerAddressOption build() { return new IpV6NeighborDiscoverySourceLinkLayerAddressOption(this); } }
/** * A static factory method. This method validates the arguments by {@link * ByteArrays#validateBounds(byte[], int, int)}, which may throw exceptions undocumented here. * * @param rawData rawData * @param offset offset * @param length length * @return a new IpV6NeighborDiscoverySourceLinkLayerAddressOption object. * @throws IllegalRawDataException if parsing the raw data fails. */ public static IpV6NeighborDiscoverySourceLinkLayerAddressOption newInstance( byte[] rawData, int offset, int length) throws IllegalRawDataException { ByteArrays.validateBounds(rawData, offset, length); return new IpV6NeighborDiscoverySourceLinkLayerAddressOption(rawData, offset, length); }
@Override public IpV6NeighborDiscoverySourceLinkLayerAddressOption build() { return new IpV6NeighborDiscoverySourceLinkLayerAddressOption(this); } }
/** * A static factory method. This method validates the arguments by {@link * ByteArrays#validateBounds(byte[], int, int)}, which may throw exceptions undocumented here. * * @param rawData rawData * @param offset offset * @param length length * @return a new IpV6NeighborDiscoverySourceLinkLayerAddressOption object. * @throws IllegalRawDataException if parsing the raw data fails. */ public static IpV6NeighborDiscoverySourceLinkLayerAddressOption newInstance( byte[] rawData, int offset, int length) throws IllegalRawDataException { ByteArrays.validateBounds(rawData, offset, length); return new IpV6NeighborDiscoverySourceLinkLayerAddressOption(rawData, offset, length); }