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

Method jump

src/main/java/core/org/xbill/DNS/DNSOutput.java:74–81  ·  view source on GitHub ↗

Resets the current position of the output stream to the specified index. @param index The new current position. @throws IllegalArgumentException The index is not within the output.

(int index)

Source from the content-addressed store, hash-verified

72 * @throws IllegalArgumentException The index is not within the output.
73 */
74public void
75jump(int index) {
76 if (index > pos) {
77 throw new IllegalArgumentException("cannot jump past " +
78 "end of data");
79 }
80 pos = index;
81}
82
83/**
84 * Saves the current state of the output stream.

Callers 1

digestRRsetMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected