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.
encodeByteString :: Encoder a -> a -> ByteStringregistry-aeson Data.Registry.Aeson.Encoder No documentation available.
PrimShortByteString :: Int -> Prim ShortByteStringrvar Data.RVar A uniformly distributed ShortByteString of length n bytes
randomByteString :: Int -> IO ByteStringsaltine Crypto.Saltine.Core.Utils Build a sized random ByteString using Sodium's bindings to devurandom.
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.
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.
buildUnsafeScrubbedByteString :: Int -> (Ptr CChar -> IO b) -> (b, ByteString)saltine Crypto.Saltine.Internal.Util Not sure yet what to use this for
buildUnsafeScrubbedByteString' :: Int -> (Ptr CChar -> IO b) -> IO (b, ByteString)saltine Crypto.Saltine.Internal.Util Not sure yet what to use this for
buildUnsafeVariableByteString :: Int -> (Ptr CChar -> IO b) -> (b, ByteString)saltine Crypto.Saltine.Internal.Util No documentation available.
buildUnsafeVariableByteString' :: Int -> (Ptr CChar -> IO b) -> IO (b, ByteString)saltine Crypto.Saltine.Internal.Util Sometimes we have to deal with variable-length strings
constByteStrings :: [ByteString] -> ([CStringLen] -> IO b) -> IO bsaltine Crypto.Saltine.Internal.Util Convenience function for accessing constant C strings