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. fromByteString :: ByteString -> Bytes

    byteslice Data.Bytes

    O(n) Copy a ByteString to a byte sequence.

  2. fromLazyByteString :: ByteString -> Bytes

    byteslice Data.Bytes

    O(n) Copy a lazy bytestring to a byte sequence.

  3. fromShortByteString :: ShortByteString -> Bytes

    byteslice Data.Bytes

    O(1) Create Bytes from a ShortByteString.

  4. pinnedToByteString :: Bytes -> ByteString

    byteslice Data.Bytes

    Convert a pinned Bytes to a ByteString O(1) Precondition: bytes are pinned. Behavior is undefined otherwise.

  5. toByteString :: Bytes -> ByteString

    byteslice Data.Bytes

    O(n) when unpinned, O(1) when pinned. Create a ByteString from a byte sequence. This only copies the byte sequence if it is not pinned.

  6. toShortByteString :: Bytes -> ShortByteString

    byteslice Data.Bytes

    Convert the sliced Bytes to an unsliced ShortByteString. This reuses the array backing the sliced Bytes if the slicing metadata implies that all of the bytes are used. Otherwise, it makes a copy.

  7. toShortByteStringClone :: Bytes -> ShortByteString

    byteslice Data.Bytes

    Variant of toShortByteString that unconditionally makes a copy of the array backing the sliced Bytes even if the original array could be reused. Prefer toShortByteString.

  8. concatByteString :: Chunks -> ByteString

    byteslice Data.Bytes.Chunks

    Concatenate chunks into a strict bytestring.

  9. toByteString :: EmailAddress -> ByteString

    email-validate Text.Email.Parser

    Converts an email address back to a ByteString

  10. toByteString :: EmailAddress -> ByteString

    email-validate Text.Email.Validate

    Converts an email address back to a ByteString

Page 52 of many | Previous | Next