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

Method rrFromWire

src/main/java/core/org/xbill/DNS/TKEYRecord.java:78–97  ·  view source on GitHub ↗
(DNSInput in)

Source from the content-addressed store, hash-verified

76}
77
78void
79rrFromWire(DNSInput in) throws IOException {
80 alg = new Name(in);
81 timeInception = new Date(1000 * in.readU32());
82 timeExpire = new Date(1000 * in.readU32());
83 mode = in.readU16();
84 error = in.readU16();
85
86 int keylen = in.readU16();
87 if (keylen > 0)
88 key = in.readByteArray(keylen);
89 else
90 key = null;
91
92 int otherlen = in.readU16();
93 if (otherlen > 0)
94 other = in.readByteArray(otherlen);
95 else
96 other = null;
97}
98
99void
100rdataFromString(Tokenizer st, Name origin) throws IOException {

Callers

nothing calls this directly

Calls 3

readU32Method · 0.80
readU16Method · 0.80
readByteArrayMethod · 0.80

Tested by

no test coverage detected