h$ d   Safe-InferredZ None#$streamly-bytestring Convert a  to an array of . This function unwraps the  and wraps it with  constructors and hence the operation is performed in constant time.streamly-bytestringConvert an array of  to a . This function unwraps the  and wraps it with  constructors and hence the operation is performed in constant time.streamly-bytestring0Unfold a strict ByteString to a stream of Word8.streamly-bytestringFold a stream of Word8 to a strict ByteString of given size in bytes.streamly-bytestringFold a stream of Word8 to a strict ByteString of appropriate size.Nonestreamly-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 :: SerialT IO (Array Word8) -> IO ByteString fromChunksIO str = runLazy (fromChunks (S.hoist liftToLazy str)) streamly-bytestringConvert a serial stream of   to a lazy  in the IO monad.       0streamly-bytestring-0.1.3-7iIVUmeSjEc4hrypo5QvwBStreamly.External.ByteString!Streamly.External.ByteString.LazyPaths_streamly_bytestringtoArray fromArrayreadwriteNwrite readChunkstoChunks fromChunks fromChunksIOversion getBinDir getLibDir getDynLibDir getDataDir getLibexecDir getSysconfDirgetDataFileNamebytestring-0.10.10.0Data.ByteString.Internal ByteStringbaseGHC.WordWord8%streamly-0.8.0-GpzsIEUhxII7VqjPHGufF6)Streamly.Internal.Data.Array.Foreign.TypeArrayData.ByteString.Lazy.Internal