code: public static SearchResponse from(final KNXnetIPHeader h, final byte[] data, final int offset) throws KNXFormatException {
  		final int svcType = h.getServiceType();
  		if (svcType != KNXnetIPHeader.SEARCH_RES && svcType != KNXnetIPHeader.SearchResponse)
  			throw new KNXIllegalArgumentException("not a search response");
  		return new SearchResponse(svcType, data, offset, h.getTotalLength() - h.getStructLength());
  	}
docs: Creates a new search response from a byte array.
  
  @param h KNXnet/IP header preceding the search response in the byte array
  @param data byte array containing a search response
  @param offset start offset of response in <code>data</code>
  @return search response
  @throws KNXFormatException on wrong structure size or invalid host protocol address information