(DNSOutput out, Compression c, boolean canonical)
| 280 | } |
| 281 | |
| 282 | void |
| 283 | rrToWire(DNSOutput out, Compression c, boolean canonical) { |
| 284 | out.writeU8(0); /* version */ |
| 285 | out.writeU8(toLOCformat(size)); |
| 286 | out.writeU8(toLOCformat(hPrecision)); |
| 287 | out.writeU8(toLOCformat(vPrecision)); |
| 288 | out.writeU32(latitude); |
| 289 | out.writeU32(longitude); |
| 290 | out.writeU32(altitude); |
| 291 | } |
| 292 | |
| 293 | private static long |
| 294 | parseLOCformat(int b) throws WireParseException { |
nothing calls this directly
no test coverage detected