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. encodeByteString :: Encoder a -> a -> ByteString

    registry-aeson Data.Registry.Aeson.Encoder

    No documentation available.

  2. PrimShortByteString :: Int -> Prim ShortByteString

    rvar Data.RVar

    A uniformly distributed ShortByteString of length n bytes

  3. randomByteString :: Int -> IO ByteString

    saltine Crypto.Saltine.Core.Utils

    Build a sized random ByteString using Sodium's bindings to devurandom.

  4. buildUnsafeByteString :: Int -> (Ptr CChar -> IO b) -> (b, ByteString)

    saltine Crypto.Saltine.Internal.Util

    Extremely unsafe function, use with utmost care! Builds a new ByteString using a ccall which is given access to the raw underlying pointer. Overwrites are UNCHECKED and unsafePerformIO is used so it's difficult to predict the timing of the ByteString creation.

  5. buildUnsafeByteString' :: Int -> (Ptr CChar -> IO b) -> IO (b, ByteString)

    saltine Crypto.Saltine.Internal.Util

    Slightly safer cousin to buildUnsafeByteString that remains in the IO monad.

  6. buildUnsafeScrubbedByteString :: Int -> (Ptr CChar -> IO b) -> (b, ByteString)

    saltine Crypto.Saltine.Internal.Util

    Not sure yet what to use this for

  7. buildUnsafeScrubbedByteString' :: Int -> (Ptr CChar -> IO b) -> IO (b, ByteString)

    saltine Crypto.Saltine.Internal.Util

    Not sure yet what to use this for

  8. buildUnsafeVariableByteString :: Int -> (Ptr CChar -> IO b) -> (b, ByteString)

    saltine Crypto.Saltine.Internal.Util

    No documentation available.

  9. buildUnsafeVariableByteString' :: Int -> (Ptr CChar -> IO b) -> IO (b, ByteString)

    saltine Crypto.Saltine.Internal.Util

    Sometimes we have to deal with variable-length strings

  10. constByteStrings :: [ByteString] -> ([CStringLen] -> IO b) -> IO b

    saltine Crypto.Saltine.Internal.Util

    Convenience function for accessing constant C strings

Page 100 of many | Previous | Next