@Override public UnknownIpV4Option build() { return new UnknownIpV4Option(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 UnknownIpV4Option object. * @throws IllegalRawDataException if parsing the raw data fails. */ public static UnknownIpV4Option newInstance(byte[] rawData, int offset, int length) throws IllegalRawDataException { ByteArrays.validateBounds(rawData, offset, length); return new UnknownIpV4Option(rawData, offset, length); }
@Override public UnknownIpV4Option build() { return new UnknownIpV4Option(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 UnknownIpV4Option object. * @throws IllegalRawDataException if parsing the raw data fails. */ public static UnknownIpV4Option newInstance(byte[] rawData, int offset, int length) throws IllegalRawDataException { ByteArrays.validateBounds(rawData, offset, length); return new UnknownIpV4Option(rawData, offset, length); }