explicit-iomodes-bytestring-0.2.0.2: Extends explicit-iomodes with ByteString operations

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

Data.ByteString.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.

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

Wraps Data.ByteString.hGetSome.

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

Wraps Data.ByteString.hGetNonBlocking.

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

Wraps Data.ByteString.hPut.

hPutNonBlocking :: WriteModes ioMode => Handle ioMode -> ByteString -> IO ByteStringSource

Wraps Data.ByteString.hPutNonBlocking.

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

Wraps Data.ByteString.hPutStr.