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.
fromByteString :: ByteString -> SlicedByteArraycborg Codec.CBOR.ByteArray.Sliced No documentation available.
fromShortByteString :: ShortByteString -> SlicedByteArraycborg Codec.CBOR.ByteArray.Sliced No documentation available.
toByteString :: SlicedByteArray -> ByteStringcborg Codec.CBOR.ByteArray.Sliced Note that this may require a copy.
copyByteArrayToByteString :: ByteArray -> Int -> Int -> ByteStringcborg Codec.CBOR.Magic Copy a ByteArray at a certain offset and length into a ByteString.
copyByteStringToByteArray :: ByteString -> ByteArraycborg Codec.CBOR.Magic Copy a ByteString and create a primitive ByteArray from it.
toLazyByteString :: Encoding -> ByteStringcborg Codec.CBOR.Write Turn an Encoding into a lazy ByteString in CBOR binary format.
toStrictByteString :: Encoding -> ByteStringcborg Codec.CBOR.Write Turn an Encoding into a strict ByteString in CBOR binary format.
sha256DigestFromByteString :: ByteString -> Maybe SHA256Digestdhall Dhall.Crypto Attempt to interpret a ByteString as a SHA256Digest, returning Nothing if the conversion fails
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.
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"