MCPcopy Index your code
hub / github.com/antlr/codebuff / write

Method write

output/java_guava/1.4.17/Files.java:284–286  ·  view source on GitHub ↗

Overwrites a file with the contents of a byte array. @param from the bytes to write @param to the destination file @throws IOException if an I/O error occurs

(byte[] from, File to)

Source from the content-addressed store, hash-verified

282
283
284 public static void write(byte[] from, File to) throws IOException {
285 asByteSink(to).write(from);
286 }
287
288 /**
289 * Copies all bytes from a file to an output stream.

Callers 1

appendMethod · 0.95

Calls 4

asByteSinkMethod · 0.95
asCharSinkMethod · 0.95
modesMethod · 0.95
writeMethod · 0.65

Tested by

no test coverage detected