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

Method readCountedString

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

Reads a counted string from the stream. A counted string is a one byte value indicating string length, followed by bytes of data. @return A byte array containing the string. @throws WireParseException The end of the stream was reached.

()

Source from the content-addressed store, hash-verified

230 * @throws WireParseException The end of the stream was reached.
231 */
232public byte []
233readCountedString() throws WireParseException {
234 int len = readU8();
235 return readByteArray(len);
236}
237
238}

Callers 8

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

Calls 2

readU8Method · 0.95
readByteArrayMethod · 0.95

Tested by

no test coverage detected