explicit-iomodes-0.3: File handles with explicit IOModes

MaintainerBas van Dijk <v.dijk.bas@gmail.com>

Data.ByteString.Char8.ExplicitIOModes

Description

This module lifts the bytestring IO operations to handles with explicit IOModes.

Synopsis

Documentation

hGetLine :: ReadModes ioMode => Handle ioMode -> IO ByteStringSource

Wraps Data.ByteString.hGetLine.

hGetContents :: ReadModes ioMode => Handle ioMode -> IO ByteStringSource

Wraps Data.ByteString.hGetContents.

hGet :: ReadModes ioMode => Handle ioMode -> Int -> IO ByteStringSource

Wraps Data.ByteString.hGet.

hGetNonBlocking :: ReadModes ioMode => Handle ioMode -> Int -> IO ByteStringSource

Wraps Data.ByteString.hGetNonBlocking.

hPut :: WriteModes ioMode => Handle ioMode -> ByteString -> IO ()Source

Wraps Data.ByteString.hPut.

hPutStr :: WriteModes ioMode => Handle ioMode -> ByteString -> IO ()Source

Wraps Data.ByteString.hPutStr.

hPutStrLn :: WriteModes ioMode => Handle ioMode -> ByteString -> IO ()Source

Wraps Data.ByteString.hPutStrLn.