Hoogle Search

Within LTS Haskell 24.63 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. getByteString :: Int -> Get ByteString

    binary Data.Binary.Get

    An efficient get method for strict ByteStrings. Fails if fewer than n bytes are left in the input. If n <= 0 then the empty string is returned.

  2. getLazyByteString :: Int64 -> Get ByteString

    binary Data.Binary.Get

    An efficient get method for lazy ByteStrings. Fails if fewer than n bytes are left in the input.

  3. getLazyByteStringNul :: Get ByteString

    binary Data.Binary.Get

    Get a lazy ByteString that is terminated with a NUL byte. The returned string does not contain the NUL byte. Fails if it reaches the end of input without finding a NUL.

  4. getRemainingLazyByteString :: Get ByteString

    binary Data.Binary.Get

    Get the remaining bytes as a lazy ByteString. Note that this can be an expensive function to use as it forces reading all input and keeping the string in-memory.

  5. getByteString :: Int -> Get ByteString

    binary Data.Binary.Get.Internal

    An efficient get method for strict ByteStrings. Fails if fewer than n bytes are left in the input. If n <= 0 then the empty string is returned.

  6. putByteString :: ByteString -> Put

    binary Data.Binary.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 :: ByteString -> Put

    binary Data.Binary.Put

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

  8. putShortByteString :: ShortByteString -> Put

    binary Data.Binary.Put

    Write ShortByteString to the buffer

  9. takeByteString :: Parser ByteString

    attoparsec Data.Attoparsec.ByteString

    Consume all remaining input and return it as a single string.

  10. takeLazyByteString :: Parser ByteString

    attoparsec Data.Attoparsec.ByteString

    Consume all remaining input and return it as a single string.

Page 32 of many | Previous | Next