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

Method getUInt32

src/main/java/core/org/xbill/DNS/Tokenizer.java:425–431  ·  view source on GitHub ↗

Gets the next token from a tokenizer and converts it to an unsigned 32 bit integer. @return The next token in the stream, as an unsigned 32 bit integer. @throws TextParseException The input was invalid or not an unsigned 32 bit integer. @throws IOException An I/O error occurred.

()

Source from the content-addressed store, hash-verified

423 * @throws IOException An I/O error occurred.
424 */
425public long
426getUInt32() throws IOException {
427 long l = getLong();
428 if (l < 0 || l > 0xFFFFFFFFL)
429 throw exception("expected an 32 bit unsigned integer");
430 return l;
431}
432
433/**
434 * Gets the next token from a tokenizer and converts it to an unsigned 16 bit

Callers 1

rdataFromStringMethod · 0.80

Calls 2

getLongMethod · 0.95
exceptionMethod · 0.95

Tested by

no test coverage detected