FileStream¶
Asynchronous access to a File object. Wraps file operations print, write, printv and writev. The File will be disposed through File._final.
Implements¶
- OutStream tag
Constructors¶
create¶
Parameters¶
- file: File iso
Returns¶
- FileStream tag^
Public Behaviours¶
print¶
Print some bytes and insert a newline afterwards.
Parameters¶
write¶
Print some bytes without inserting a newline afterwards.
Parameters¶
printv¶
Print an iterable collection of ByteSeqs.
Parameters¶
- data: ByteSeqIter val
writev¶
Write an iterable collection of ByteSeqs.
Parameters¶
- data: ByteSeqIter val
flush¶
Flush pending data to write.