filet
filet copied to clipboard
add method for writing a binary file
This adds a method for writing to a binary file. Since we close the filer hanler after creation on TmpFile
we can't write binary there. Trying to re-open the handler results in:
golang.org/x/sys/unix.EBADF (9)