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

Method parseAddress

src/main/java/core/org/xbill/DNS/APLRecord.java:133–142  ·  view source on GitHub ↗
(byte [] in, int length)

Source from the content-addressed store, hash-verified

131}
132
133private static byte []
134parseAddress(byte [] in, int length) throws WireParseException {
135 if (in.length > length)
136 throw new WireParseException("invalid address length");
137 if (in.length == length)
138 return in;
139 byte [] out = new byte[length];
140 System.arraycopy(in, 0, out, 0, in.length);
141 return out;
142}
143
144void
145rrFromWire(DNSInput in) throws IOException {

Callers 1

rrFromWireMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected