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

Method readByteArray

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

Reads a byte array of a specified length from the stream into an existing array. @param b The array to read into. @param off The offset of the array to start copying data into. @param len The number of bytes to copy. @throws WireParseException The end of the stream was reached.

(byte [] b, int off, int len)

Source from the content-addressed store, hash-verified

192 * @throws WireParseException The end of the stream was reached.
193 */
194public void
195readByteArray(byte [] b, int off, int len) throws WireParseException {
196 require(len);
197 byteBuffer.get(b, off, len);
198}
199
200/**
201 * Reads a byte array of a specified length from the stream.

Callers 15

readCountedStringMethod · 0.95
DSASignaturefromDNSMethod · 0.95
DSASignaturetoDNSMethod · 0.95
ECDSASignaturefromDNSMethod · 0.95
ECDSASignaturetoDNSMethod · 0.95
fromWireMethod · 0.95
fromWireMethod · 0.95
rrFromWireMethod · 0.80
rrFromWireMethod · 0.80
rrFromWireMethod · 0.80
rrFromWireMethod · 0.80
rrFromWireMethod · 0.80

Calls 3

requireMethod · 0.95
remainingMethod · 0.95
getMethod · 0.45

Tested by

no test coverage detected