void
rrFromWire(DNSInput in) throws IOException {
	flags = in.readU16();
	proto = in.readU8();
	alg = in.readU8();
	if (in.remaining() > 0)
		key = in.readByteArray();
}
The base class for KEY/DNSKEY records, which have identical formats 

@author Brian Wellington
src/main/java/core/org/xbill/DNS/KEYBase.java