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

Method restore

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

Restores the input stream to its state before the call to #save.

()

Source from the content-addressed store, hash-verified

93 * Restores the input stream to its state before the call to {@link #save}.
94 */
95public void
96restore() {
97 if (saved_pos < 0) {
98 throw new IllegalStateException("no previous state");
99 }
100 pos = saved_pos;
101 saved_pos = -1;
102}
103
104/**
105 * Writes an unsigned 8 bit value to the stream.

Callers 1

digestRRsetMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected