Hoogle Search
Within LTS Haskell 24.33 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
readChunksWith :: forall (m :: Type -> Type) . MonadIO m => Int -> Handle -> Stream m (Array Word8)streamly-core Streamly.Internal.FileSystem.Handle readChunksWith size handle reads a stream of arrays from the file handle handle. The maximum size of a single array is limited to size. The actual size read may be less than or equal to size.
>>> readChunksWith size h = Stream.unfold Handle.chunkReaderWith (size, h)
-
streamly-core Streamly.Internal.FileSystem.Handle Deprecated: Please use chunkReaderWith instead.
readWith :: forall (m :: Type -> Type) . MonadIO m => Int -> Handle -> Stream m Word8streamly-core Streamly.Internal.FileSystem.Handle readWith bufsize handle reads a byte stream from a file handle, reads are performed in chunks of up to bufsize.
>>> readWith size h = Stream.unfoldMany Array.reader $ Handle.readChunksWith size h
Pre-releasereadWithBufferOf :: forall (m :: Type -> Type) . MonadIO m => Unfold m (Int, Handle) Word8streamly-core Streamly.Internal.FileSystem.Handle Deprecated: Please use readerWith instead.
reader :: forall (m :: Type -> Type) . MonadIO m => Unfold m Handle Word8streamly-core Streamly.Internal.FileSystem.Handle Unfolds a file handle into a byte stream. IO requests to the device are performed in sizes of defaultChunkSize.
>>> reader = Unfold.many Array.reader Handle.chunkReader
readerWith :: forall (m :: Type -> Type) . MonadIO m => Unfold m (Int, Handle) Word8streamly-core Streamly.Internal.FileSystem.Handle Unfolds the tuple (bufsize, handle) into a byte stream, read requests to the IO device are performed using buffers of bufsize.
>>> readerWith = Unfold.many Array.reader Handle.chunkReaderWith
readCharUtf8 :: forall (m :: Type -> Type) . Monad m => Unfold m Char Word8streamly-core Streamly.Internal.Unicode.Stream No documentation available.
readCharUtf8' :: forall (m :: Type -> Type) . Monad m => Unfold m Char Word8streamly-core Streamly.Internal.Unicode.Stream No documentation available.
readCharUtf8_ :: forall (m :: Type -> Type) . Monad m => Unfold m Char Word8streamly-core Streamly.Internal.Unicode.Stream No documentation available.
-
strict-mutable-base Control.Concurrent.Chan.Strict