Hoogle Search
Within LTS Haskell 24.3 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
conduit-extra Data.Conduit.Attoparsec Consume a stream of parsed tokens, returning both the token and the position it appears at. This function will raise a ParseError on bad input. Since 0.5.0
-
conduit-extra Data.Conduit.Attoparsec Same as conduitParser, but we return an Either type instead of raising an exception.
-
conduit-extra Data.Conduit.Binary Stream the contents of the input to a file, and also send it along the pipeline. Similar in concept to the Unix command tee. Since 0.3.0
-
conduit-extra Data.Conduit.Binary Stream the contents of the input to a Handle, and also send it along the pipeline. Similar in concept to the Unix command tee. Like sourceHandle, does not close the handle on completion. Related to: conduitFile. Since 1.0.9
-
binary-conduit Data.Conduit.Serialization.Binary Runs default Decoder repeatedly on a input stream.
-
binary-conduit Data.Conduit.Serialization.Binary Runs default encoder on a input stream. This function produces a stream of bytes where for each input value you will have a number of ByteStrings, and no boundary between different values.
conduitGet :: forall (m :: Type -> Type) b . MonadThrow m => Get b -> ConduitT ByteString b m ()binary-conduit Data.Conduit.Serialization.Binary Runs getter repeatedly on a input stream.
conduitMsgEncode :: forall (m :: Type -> Type) b . (Monad m, Binary b) => ConduitT b ByteString m ()binary-conduit Data.Conduit.Serialization.Binary Runs default encoder on input stream. This function produces a ByteString per each incomming packet, it may be useful in datagram based protocols. Function maintains following property
'conduitMsgEncode' xs == 'CL.map' 'Data.ByteString.encode' =$= 'CL.map' 'LBS.toStrict'
This invariant is maintaind by the cost of additional data copy, so if you packets can be serialized to the large data chunks or you interested in iterative packet serialization concider using conduitPutList or conduitPutManyconduitPut :: forall (m :: Type -> Type) . Monad m => ConduitT Put ByteString m ()binary-conduit Data.Conduit.Serialization.Binary Runs putter repeatedly on a input stream, returns an output stream.
conduitPutLBS :: forall (m :: Type -> Type) . Monad m => ConduitT Put ByteString m ()binary-conduit Data.Conduit.Serialization.Binary Runs putter repeatedly on a input stream. Returns a lazy butestring so it's possible to use vectorized IO on the result either by calling' LBS.toChunks' or by calling send.