MCPcopy Index your code
hub / github.com/ev3dev-lang-java/ev3dev-lang-java / writeBytes

Method writeBytes

src/main/java/ev3dev/utils/Sysfs.java:128–135  ·  view source on GitHub ↗
(final String path, final byte[] value)

Source from the content-addressed store, hash-verified

126 }
127
128 public static boolean writeBytes(final String path, final byte[] value) {
129 try {
130 Files.write(Paths.get(path), value, StandardOpenOption.WRITE);
131 } catch (IOException e) {
132 throw new RuntimeException("Unable to draw the LCD", e);
133 }
134 return true;
135 }
136
137}

Callers 2

writeBytesTestMethod · 0.95
flushMethod · 0.95

Calls 1

writeMethod · 0.65

Tested by 1

writeBytesTestMethod · 0.76