MCPcopy Create free account
hub / github.com/DeNA/PacketProxy / require

Method require

src/main/java/core/org/xbill/DNS/DNSInput.java:58–63  ·  view source on GitHub ↗
(int n)

Source from the content-addressed store, hash-verified

56}
57
58private void
59require(int n) throws WireParseException{
60 if (n > remaining()) {
61 throw new WireParseException("end of input");
62 }
63}
64
65/**
66 * Marks the following bytes in the stream as active.

Callers 4

readU8Method · 0.95
readU16Method · 0.95
readU32Method · 0.95
readByteArrayMethod · 0.95

Calls 1

remainingMethod · 0.95

Tested by

no test coverage detected