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.
-
conduit Data.Conduit.Combinators No documentation available.
-
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!
getByteString :: Int -> Get ByteStringcereal 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.
getLazyByteString :: Int64 -> Get ByteStringcereal Data.Serialize.Get No documentation available.
getShortByteString :: Int -> Get ShortByteStringcereal Data.Serialize.Get No documentation available.
putByteString :: Putter ByteStringcereal 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.
putLazyByteString :: Putter ByteStringcereal Data.Serialize.Put Write a lazy ByteString efficiently, simply appending the lazy ByteString chunks to the output buffer
putShortByteString :: Putter ShortByteStringcereal Data.Serialize.Put No documentation available.
-
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.
toByteString :: Builder -> ByteStringblaze-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.