Îõ³h* © &     0.2.2 Safe-Inferredm  Safe-Inferred%&Ë9streamly-bytestring)Helper function that creates a ForeignPtrstreamly-bytestring Convert a  to an array of ƒ. It can be done in constant time only for GHC allocated memory. For foreign allocator allocated memory there is a copy involved.streamly-bytestringConvert an array of  to a .ÀPlease ensure that the array is pinned when using this function.streamly-bytestring0Unfold a strict ByteString to a stream of Word8.streamly-bytestringÅFold a stream of Word8 to a strict ByteString of given size in bytes.streamly-bytestringÂFold a stream of Word8 to a strict ByteString of appropriate size. Safe-Inferred streamly-bytestring(Unfold a lazy ByteString to a stream of  Words.streamly-bytestring-Unfold a lazy ByteString to a stream of Word8streamly-bytestringConvert a lazy  to a serial stream of  . streamly-bytestringConvert a serial stream of   to a lazy .åIMPORTANT NOTE: This function is lazy only for lazy monads (e.g. Identity). For strict monads (e.g. IOÂ) it consumes the entire input before generating the output. For IO( monad please use fromChunksIO instead.For strict monads like IOÚ you could create a newtype wrapper to make the monad bind operation lazy and lift the stream to that type using hoist, then you can use this function to generate the bytestring lazily. For example you can wrap the IO& type to make the bind lazy like this: …newtype LazyIO a = LazyIO { runLazy :: IO a } deriving (Functor, Applicative) liftToLazy :: IO a -> LazyIO a liftToLazy = LazyIO instance Monad LazyIO where return = pure LazyIO a >>= f = LazyIO (unsafeInterleaveIO a >>= unsafeInterleaveIO . runLazy . f)  fromChunks can then be used as,   {-# INLINE fromChunksIO #-} fromChunksIO :: Stream IO (Array Word8) -> IO ByteString fromChunksIO str = runLazy (fromChunks (Stream.hoist liftToLazy str)) streamly-bytestringConvert a serial stream of   to a lazy  in the IO monad.         !"#0streamly-bytestring-0.2.2-EgywxKKprQFIzTN4SXAJJrStreamly.External.ByteString!Streamly.External.ByteString.Lazystreamly-bytestringPaths_streamly_bytestringtoArray fromArrayreaderwriteNwriteread chunkReadertoChunks fromChunks fromChunksIO readChunksversion getBinDir getLibDir getDynLibDir getDataDir getLibexecDirgetDataFileName getSysconfDirmakeForeignPtrbytestring-0.11.5.2Data.ByteString.Internal.Type ByteStringbaseGHC.WordWord8*streamly-core-0.2.2-3uWr3BnfIEj8DpG9KPhKM0!Streamly.Internal.Data.Array.TypeArrayData.ByteString.Lazy.Internal