MCPcopy Index your code
hub / github.com/processing/processing / writeFile

Method writeFile

app/src/processing/app/Console.java:244–254  ·  view source on GitHub ↗
(byte b[], int offset, int length)

Source from the content-addressed store, hash-verified

242 }
243
244 public void writeFile(byte b[], int offset, int length) {
245 final OutputStream echo = err ? stderrFile : stdoutFile;
246 if (echo != null) {
247 try {
248 echo.write(b, offset, length);
249 echo.flush();
250 } catch (IOException e) {
251 e.printStackTrace();
252 }
253 }
254 }
255
256 public void write(int b) {
257 single[0] = (byte) b;

Callers 1

writeMethod · 0.95

Calls 3

writeMethod · 0.65
flushMethod · 0.45
printStackTraceMethod · 0.45

Tested by

no test coverage detected