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

Method readU16

src/main/java/core/org/xbill/DNS/DNSInput.java:169–173  ·  view source on GitHub ↗

Reads an unsigned 16 bit value from the stream, as an int. @return An unsigned 16 bit value. @throws WireParseException The end of the stream was reached.

()

Source from the content-addressed store, hash-verified

167 * @throws WireParseException The end of the stream was reached.
168 */
169public int
170readU16() throws WireParseException {
171 require(2);
172 return (byteBuffer.getShort() & 0xFFFF);
173}
174
175/**
176 * Reads an unsigned 32 bit value from the stream, as a long.

Callers 15

toRSAPublicKeyMethod · 0.95
fromWireMethod · 0.95
fromWireMethod · 0.95
rrFromWireMethod · 0.80
fromWireMethod · 0.80
rrFromWireMethod · 0.80
rrFromWireMethod · 0.80
rrFromWireMethod · 0.80
rrFromWireMethod · 0.80
rrFromWireMethod · 0.80
rrFromWireMethod · 0.80
rrFromWireMethod · 0.80

Calls 1

requireMethod · 0.95

Tested by

no test coverage detected