Hoogle Search

Within LTS Haskell 24.64 (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

    Please note that this needs to convert from a lazy ByteString to a strict one which involves copying the whole string.

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

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

    Convert a Vector to a ByteString.

  3. toByteString :: Builder -> ByteString

    bytestring-tree-builder ByteString.TreeBuilder

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

  4. toLazyByteString :: Builder -> ByteString

    bytestring-tree-builder ByteString.TreeBuilder

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

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

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

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

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

    classy-prelude-conduit ClassyPrelude.Conduit

    No documentation available.

  9. 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!

  10. deserializeByteString :: Deserializable α => ByteString -> Deserialized α

    data-serializer Data.Deserializer

    Deserialize a value of type α from a ByteString via the defaultDeserializer.

Page 61 of many | Previous | Next