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

Method addressLength

src/main/java/core/org/xbill/DNS/APLRecord.java:251–258  ·  view source on GitHub ↗
(byte [] addr)

Source from the content-addressed store, hash-verified

249}
250
251private static int
252addressLength(byte [] addr) {
253 for (int i = addr.length - 1; i >= 0; i--) {
254 if (addr[i] != 0)
255 return i + 1;
256 }
257 return 0;
258}
259
260void
261rrToWire(DNSOutput out, Compression c, boolean canonical) {

Callers 1

rrToWireMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected