(DNSOutput out, Compression c, boolean canonical)
| 198 | } |
| 199 | |
| 200 | void |
| 201 | rrToWire(DNSOutput out, Compression c, boolean canonical) { |
| 202 | alg.toWire(out, null, canonical); |
| 203 | |
| 204 | out.writeU32(timeInception.getTime() / 1000); |
| 205 | out.writeU32(timeExpire.getTime() / 1000); |
| 206 | |
| 207 | out.writeU16(mode); |
| 208 | out.writeU16(error); |
| 209 | |
| 210 | if (key != null) { |
| 211 | out.writeU16(key.length); |
| 212 | out.writeByteArray(key); |
| 213 | } |
| 214 | else |
| 215 | out.writeU16(0); |
| 216 | |
| 217 | if (other != null) { |
| 218 | out.writeU16(other.length); |
| 219 | out.writeByteArray(other); |
| 220 | } |
| 221 | else |
| 222 | out.writeU16(0); |
| 223 | } |
| 224 | |
| 225 | } |
nothing calls this directly
no test coverage detected