private void
require(int n) throws WireParseException{
	if (n > remaining()) {
		throw new WireParseException("end of input");
	}
}
Returns the number of bytes that can be read from this stream before
reaching the end.
src/main/java/core/org/xbill/DNS/DNSInput.java