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. builderToByteStringWithFlush :: forall (m :: Type -> Type) . PrimMonad m => BufferAllocStrategy -> ConduitT (Flush Builder) (Flush ByteString) m ()

    conduit Data.Conduit.Combinators

    No documentation available.

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

    conduit Data.Conduit.Combinators

    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!

  3. getByteString :: Int -> Get ByteString

    cereal Data.Serialize.Get

    An efficient get method for strict ByteStrings. Fails if fewer than n bytes are left in the input. This function creates a fresh copy of the underlying bytes.

  4. getLazyByteString :: Int64 -> Get ByteString

    cereal Data.Serialize.Get

    No documentation available.

  5. getShortByteString :: Int -> Get ShortByteString

    cereal Data.Serialize.Get

    No documentation available.

  6. putByteString :: Putter ByteString

    cereal Data.Serialize.Put

    An efficient primitive to write a strict ByteString into the output buffer. It flushes the current buffer, and writes the argument into a new chunk.

  7. putLazyByteString :: Putter ByteString

    cereal Data.Serialize.Put

    Write a lazy ByteString efficiently, simply appending the lazy ByteString chunks to the output buffer

  8. putShortByteString :: Putter ShortByteString

    cereal Data.Serialize.Put

    No documentation available.

  9. package base64-bytestring

    Fast base64 encoding and decoding for ByteStrings This package provides support for encoding and decoding binary data according to base64 (see also RFC 4648) for strict and lazy ByteStrings For a fuller-featured and better-performing Base64 library, see the base64 package.

  10. toByteString :: Builder -> ByteString

    blaze-builder Blaze.ByteString.Builder

    Run the builder to construct a strict bytestring containing the sequence of bytes denoted by the builder. This is done by first serializing to a lazy bytestring and then packing its chunks to a appropriately sized strict bytestring.

    toByteString = packChunks . toLazyByteString
    
    Note that toByteString is a Monoid homomorphism.
    toByteString mempty          == mempty
    toByteString (x `mappend` y) == toByteString x `mappend` toByteString y
    
    However, in the second equation, the left-hand-side is generally faster to execute.

Page 34 of many | Previous | Next