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

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

Data.ByteString.Lazy.Char8.ExplicitIOModes

Description

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

Synopsis

Documentation

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.