MCPcopy Index your code
hub / github.com/VolmitSoftware/Adapt / write

Method write

src/main/java/com/volmit/adapt/util/IO.java:890–894  ·  view source on GitHub ↗

Writes bytes from a byte[] to an OutputStream . @param data the byte array to write, do not modify during output, null ignored @param output the OutputStream to write to @throws NullPointerException if output is null @throws IOException if an I/O err

(byte[] data, OutputStream output)

Source from the content-addressed store, hash-verified

888 * @since Commons IO 1.1
889 */
890 public static void write(byte[] data, OutputStream output) throws IOException {
891 if (data != null) {
892 output.write(data);
893 }
894 }
895
896 /**
897 * Writes bytes from a <code>byte[]</code> to chars on a <code>Writer</code>

Callers

nothing calls this directly

Calls 2

writeMethod · 0.65
toStringMethod · 0.45

Tested by

no test coverage detected