effectful-2.3.0.0: An easy to use, performant extensible effects library.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Effectful.FileSystem.IO.ByteString

Description

Lifted Data.ByteString. Like the original module, you probably want to import this module qualified to avoid name clashes with the functions provided by Prelude, e.g.:

import Data.ByteString (ByteString)
import qualified Data.ByteString as BS
import qualified Effectful.FileSystem.IO.ByteString as EBS
Synopsis

Introducing and eliminating ByteStrings

Files

I/O with Handles

hGet :: FileSystem :> es => Handle -> Int -> Eff es ByteString Source #

Lifted hGet.

hPut :: FileSystem :> es => Handle -> ByteString -> Eff es () Source #

Lifted hPut.

hPutStr :: FileSystem :> es => Handle -> ByteString -> Eff es () Source #

Lifted hPutStr.