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 -> SlicedByteArray

    cborg Codec.CBOR.ByteArray.Sliced

    No documentation available.

  2. fromShortByteString :: ShortByteString -> SlicedByteArray

    cborg Codec.CBOR.ByteArray.Sliced

    No documentation available.

  3. toByteString :: SlicedByteArray -> ByteString

    cborg Codec.CBOR.ByteArray.Sliced

    Note that this may require a copy.

  4. copyByteArrayToByteString :: ByteArray -> Int -> Int -> ByteString

    cborg Codec.CBOR.Magic

    Copy a ByteArray at a certain offset and length into a ByteString.

  5. copyByteStringToByteArray :: ByteString -> ByteArray

    cborg Codec.CBOR.Magic

    Copy a ByteString and create a primitive ByteArray from it.

  6. toLazyByteString :: Encoding -> ByteString

    cborg Codec.CBOR.Write

    Turn an Encoding into a lazy ByteString in CBOR binary format.

  7. toStrictByteString :: Encoding -> ByteString

    cborg Codec.CBOR.Write

    Turn an Encoding into a strict ByteString in CBOR binary format.

  8. sha256DigestFromByteString :: ByteString -> Maybe SHA256Digest

    dhall Dhall.Crypto

    Attempt to interpret a ByteString as a SHA256Digest, returning Nothing if the conversion fails

  9. importCompactByteStrings :: SerializedCompact a -> [ByteString] -> IO (Maybe (Compact a))

    ghc-compact GHC.Compact.Serialized

    Convenience function for importing a compact region that is represented by a list of strict ByteStrings.

  10. copyByteString :: WriteBuffer -> ByteString -> IO ()

    network-byte-order Network.ByteOrder

    Copy the content of ByteString and ff its length. If buffer overrun occurs, BufferOverrun is thrown.

    >>> withWriteBuffer 3 $ \wbuf -> copyByteString wbuf "ABC"
    "ABC"
    

Page 61 of many | Previous | Next