io-streams-1.0.1.0: Simple, composable, and easy-to-use stream I/O

Safe HaskellTrustworthy

System.IO.Streams.Handle

Contents

Description

Input and output streams for file Handles.

Synopsis

Handle conversions

handleToInputStream :: Handle -> IO (InputStream ByteString)Source

Converts a read-only handle into an InputStream of strict ByteStrings.

handleToOutputStream :: Handle -> IO (OutputStream ByteString)Source

Converts a writable handle into an OutputStream of strict ByteStrings.