private static byte []
parseAddress(byte [] in, int length) throws WireParseException {
	if (in.length > length)
		throw new WireParseException("invalid address length");
	if (in.length == length)
		return in;
	byte [] out = new byte[length];
	System.arraycopy(in, 0, out, 0, in.length);
	return out;
}
Creates an APL Record from the given data.
@param elements The list of APL elements.
src/main/java/core/org/xbill/DNS/APLRecord.java