Safe Haskell | Trustworthy |
---|
Input and output streams for file Handle
s.
Handle conversions
handleToInputStream :: Handle -> IO (InputStream ByteString)Source
Converts a read-only handle into an InputStream
of strict ByteString
s.
handleToOutputStream :: Handle -> IO (OutputStream ByteString)Source
Converts a writable handle into an OutputStream
of strict ByteString
s.
stdin :: InputStream ByteStringSource
An InputStream
for stdin
.
stdout :: OutputStream ByteStringSource
An OutputStream
for stdout
.
stderr :: OutputStream ByteStringSource
An OutputStream
for stderr
.