Hoogle Search
Within LTS Haskell 24.43 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
toByteString :: ToByteString a => a -> ByteStringbytestring-conversion Data.ByteString.Conversion.To No documentation available.
toByteString' :: ToByteString a => a -> ByteStringbytestring-conversion Data.ByteString.Conversion.To Please note that this needs to convert from a lazy ByteString to a strict one which involves copying the whole string.
vectorToByteString :: Storable a => Vector a -> ByteStringbytestring-to-vector Data.Vector.Storable.ByteString Convert a Vector to a ByteString.
toByteString :: Builder -> ByteStringbytestring-tree-builder ByteString.TreeBuilder O(n). Converts the builder into a strict bytestring.
toLazyByteString :: Builder -> ByteStringbytestring-tree-builder ByteString.TreeBuilder O(n). Converts the builder into a lazy bytestring.
builderToByteString :: forall (m :: Type -> Type) . PrimMonad m => ConduitT Builder ByteString m ()classy-prelude-conduit ClassyPrelude.Conduit Incrementally execute builders and pass on the filled chunks as bytestrings.
-
classy-prelude-conduit ClassyPrelude.Conduit Same as builderToByteString, but input and output are wrapped in Flush.
-
classy-prelude-conduit ClassyPrelude.Conduit A conduit that incrementally executes builders and passes on the filled chunks as bytestrings to an inner sink. INV: All bytestrings passed to the inner sink are non-empty.
-
classy-prelude-conduit ClassyPrelude.Conduit No documentation available.
-
classy-prelude-conduit ClassyPrelude.Conduit Incrementally execute builders on the given buffer and pass on the filled chunks as bytestrings. Note that, if the given buffer is too small for the execution of a build step, a larger one will be allocated. WARNING: This conduit yields bytestrings that are NOT referentially transparent. Their content will be overwritten as soon as control is returned from the inner sink!