Skip to main content

read-all-bytes

function

babashka.fs/read-all-bytes

(read-all-bytes [f])
Returns contents of file `f` as byte array via [Files/readAllBytes](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/file/Files.html#readAllBytes(java.nio.file.Path)).

No examples yet. Be the first to add one!