void
rrToWire(DNSOutput out, Compression c, boolean canonical) {
	out.writeByteArray(address);
	out.writeU8(protocol);
	int highestPort = services[services.length - 1];
	byte [] array = new byte[highestPort / 8 + 1];
	for (int i = 0; i < services.length; i++) {
		int port = services[i];
		array[port / 8] |= (1 << (7 - port % 8));
	}
	out.writeByteArray(array);
}
Returns the services provided by the host on the specified address.
src/main/java/core/org/xbill/DNS/WKSRecord.java