Hoogle Search

Within LTS Haskell 24.51 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. readChunks :: forall (m :: Type -> Type) . MonadIO m => Handle -> Stream m (Array Word8)

    streamly-core Streamly.Internal.FileSystem.Handle

    getChunks handle reads a stream of arrays from the specified file handle. The maximum size of a single array is limited to defaultChunkSize. The actual size read may be less than or equal to defaultChunkSize.

    >>> readChunks = Handle.readChunksWith IO.defaultChunkSize
    
    Pre-release

  2. 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)
    

  3. readChunksWithBufferOf :: forall (m :: Type -> Type) . MonadIO m => Unfold m (Int, Handle) (Array Word8)

    streamly-core Streamly.Internal.FileSystem.Handle

    Deprecated: Please use chunkReaderWith instead.

  4. readWith :: forall (m :: Type -> Type) . MonadIO m => Int -> Handle -> Stream m Word8

    streamly-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-release

  5. readWithBufferOf :: forall (m :: Type -> Type) . MonadIO m => Unfold m (Int, Handle) Word8

    streamly-core Streamly.Internal.FileSystem.Handle

    Deprecated: Please use readerWith instead.

  6. reader :: forall (m :: Type -> Type) . MonadIO m => Unfold m Handle Word8

    streamly-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
    

  7. readerWith :: forall (m :: Type -> Type) . MonadIO m => Unfold m (Int, Handle) Word8

    streamly-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
    

  8. readCharUtf8 :: forall (m :: Type -> Type) . Monad m => Unfold m Char Word8

    streamly-core Streamly.Internal.Unicode.Stream

    No documentation available.

  9. readCharUtf8' :: forall (m :: Type -> Type) . Monad m => Unfold m Char Word8

    streamly-core Streamly.Internal.Unicode.Stream

    No documentation available.

  10. readCharUtf8_ :: forall (m :: Type -> Type) . Monad m => Unfold m Char Word8

    streamly-core Streamly.Internal.Unicode.Stream

    No documentation available.

Page 287 of many | Previous | Next