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. package uri-bytestring

    Haskell URI parsing as ByteStrings uri-bytestring aims to be an RFC3986 compliant URI parser that uses efficient ByteStrings for parsing and representing the URI data.

  2. utf8Bytestring :: Attr -> ByteString -> Image

    vty Graphics.Vty.Image

    Make an Image from a UTF-8 encoded lazy bytestring.

  3. utf8Bytestring' :: Attr -> ByteString -> Image

    vty Graphics.Vty.Image

    Make an Image from a UTF-8 encoded strict bytestring.

  4. fromByteString :: ByteString -> Bytes

    byteslice Data.Bytes

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

  5. fromLazyByteString :: ByteString -> Bytes

    byteslice Data.Bytes

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

  6. fromShortByteString :: ShortByteString -> Bytes

    byteslice Data.Bytes

    O(1) Create Bytes from a ShortByteString.

  7. pinnedToByteString :: Bytes -> ByteString

    byteslice Data.Bytes

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

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

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

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

Page 51 of many | Previous | Next