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.
-
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.
utf8Bytestring :: Attr -> ByteString -> Imagevty Graphics.Vty.Image Make an Image from a UTF-8 encoded lazy bytestring.
utf8Bytestring' :: Attr -> ByteString -> Imagevty Graphics.Vty.Image Make an Image from a UTF-8 encoded strict bytestring.
fromByteString :: ByteString -> Bytesbyteslice Data.Bytes O(n) Copy a ByteString to a byte sequence.
fromLazyByteString :: ByteString -> Bytesbyteslice Data.Bytes O(n) Copy a lazy bytestring to a byte sequence.
fromShortByteString :: ShortByteString -> Bytesbyteslice Data.Bytes O(1) Create Bytes from a ShortByteString.
pinnedToByteString :: Bytes -> ByteStringbyteslice Data.Bytes Convert a pinned Bytes to a ByteString O(1) Precondition: bytes are pinned. Behavior is undefined otherwise.
toByteString :: Bytes -> ByteStringbyteslice 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.
toShortByteString :: Bytes -> ShortByteStringbyteslice 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.
toShortByteStringClone :: Bytes -> ShortByteStringbyteslice 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.