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.

  1. toByteString :: ToByteString a => a -> ByteString

    bytestring-conversion Data.ByteString.Conversion.To

    No documentation available.

  2. toByteString' :: ToByteString a => a -> ByteString

    bytestring-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.

  3. vectorToByteString :: Storable a => Vector a -> ByteString

    bytestring-to-vector Data.Vector.Storable.ByteString

    Convert a Vector to a ByteString.

  4. toByteString :: Builder -> ByteString

    bytestring-tree-builder ByteString.TreeBuilder

    O(n). Converts the builder into a strict bytestring.

  5. toLazyByteString :: Builder -> ByteString

    bytestring-tree-builder ByteString.TreeBuilder

    O(n). Converts the builder into a lazy bytestring.

  6. 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.

  7. builderToByteStringFlush :: forall (m :: Type -> Type) . PrimMonad m => ConduitT (Flush Builder) (Flush ByteString) m ()

    classy-prelude-conduit ClassyPrelude.Conduit

    Same as builderToByteString, but input and output are wrapped in Flush.

  8. builderToByteStringWith :: forall (m :: Type -> Type) . PrimMonad m => BufferAllocStrategy -> ConduitT Builder ByteString m ()

    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.

  9. builderToByteStringWithFlush :: forall (m :: Type -> Type) . PrimMonad m => BufferAllocStrategy -> ConduitT (Flush Builder) (Flush ByteString) m ()

    classy-prelude-conduit ClassyPrelude.Conduit

    No documentation available.

  10. unsafeBuilderToByteString :: forall (m :: Type -> Type) . PrimMonad m => ConduitT Builder ByteString m ()

    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!

Page 71 of many | Previous | Next