elect
09/22/2017, 4:00 PMFileChannel appears to write a bigger file than needed
FileChannel.open(path, StandardOpenOption.CREATE, StandardOpenOption.WRITE).use {
data.ptr = 0
while (data.hasRemaining())
println(it.write(data))
}