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

Method toByteArray

src/main/java/core/org/xbill/DNS/DNSOutput.java:196–201  ·  view source on GitHub ↗

Returns a byte array containing the current contents of the stream.

()

Source from the content-addressed store, hash-verified

194 * Returns a byte array containing the current contents of the stream.
195 */
196public byte []
197toByteArray() {
198 byte [] out = new byte[pos];
199 System.arraycopy(array, 0, out, 0, pos);
200 return out;
201}
202
203}

Callers 15

stringToWireMethod · 0.95
toWireMethod · 0.95
toWireCanonicalMethod · 0.95
rdataToWireCanonicalMethod · 0.95
toWireMethod · 0.95
toWireMethod · 0.95
toWireMethod · 0.95
getDataMethod · 0.95
toWireMethod · 0.95
getFootprintMethod · 0.95
digestRRsetMethod · 0.95
digestMessageMethod · 0.95

Calls

no outgoing calls

Tested by 1

stringToWireMethod · 0.76