Maintainer | Bas van Dijk <v.dijk.bas@gmail.com> |
---|
This module lifts the bytestring IO operations to handles with explicit IOModes.
- hGetLine :: ReadModes ioMode => Handle ioMode -> IO ByteString
- hGetContents :: ReadModes ioMode => Handle ioMode -> IO ByteString
- hGet :: ReadModes ioMode => Handle ioMode -> Int -> IO ByteString
- hGetNonBlocking :: ReadModes ioMode => Handle ioMode -> Int -> IO ByteString
- hPut :: WriteModes ioMode => Handle ioMode -> ByteString -> IO ()
- hPutStr :: WriteModes ioMode => Handle ioMode -> ByteString -> IO ()
- hPutStrLn :: WriteModes ioMode => Handle ioMode -> ByteString -> IO ()
Documentation
hGetContents :: ReadModes ioMode => Handle ioMode -> IO ByteStringSource
Wraps Data.ByteString.
hGetContents
.
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
.