(DNSInput in)
| 58 | } |
| 59 | |
| 60 | void |
| 61 | rrFromWire(DNSInput in) throws IOException { |
| 62 | int version; |
| 63 | |
| 64 | version = in.readU8(); |
| 65 | if (version != 0) |
| 66 | throw new WireParseException("Invalid LOC version"); |
| 67 | |
| 68 | size = parseLOCformat(in.readU8()); |
| 69 | hPrecision = parseLOCformat(in.readU8()); |
| 70 | vPrecision = parseLOCformat(in.readU8()); |
| 71 | latitude = in.readU32(); |
| 72 | longitude = in.readU32(); |
| 73 | altitude = in.readU32(); |
| 74 | } |
| 75 | |
| 76 | private double |
| 77 | parseFixedPoint(String s) |
nothing calls this directly
no test coverage detected