]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scl.runtime/scl/Files.scl
write method to Files.scl
[simantics/platform.git] / bundles / org.simantics.scl.runtime / scl / Files.scl
index 6af9a176022139ccc8d8ae7a8dcbbb41341ba960..92fb8c528e8d5c7fc81ab2479f1453ae1277ae38 100644 (file)
@@ -113,6 +113,7 @@ importJava "java.nio.file.Files" where
     copyToOutputStream :: Path -> OutputStream -> <Proc, Exception> Long 
 
     readAllBytes :: Path -> <Proc, Exception> Vector Byte
     copyToOutputStream :: Path -> OutputStream -> <Proc, Exception> Long 
 
     readAllBytes :: Path -> <Proc, Exception> Vector Byte
+    write :: Path -> Vector Byte -> Vector OpenOption -> <Proc,Exception> ()
 
     @JavaName readAllLines
     readAllLinesWithCharset :: Path -> Charset -> <Proc, Exception> [String]
 
     @JavaName readAllLines
     readAllLinesWithCharset :: Path -> Charset -> <Proc, Exception> [String]