License | UNLICENSE |
---|---|
Maintainer | Jean-Pierre Rupp <jprupp@protonmail.ch> |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
The API for this module may change at any time. This is an internal module only exposed for hacking and experimentation.
Documentation
type NonceFun a = Ptr CUChar -> Ptr CUChar -> Ptr CUChar -> Ptr CUChar -> Ptr a -> CInt -> IO CInt Source #
unsafeUseByteString :: ByteString -> ((Ptr a, CSize) -> IO b) -> IO b Source #
useByteString :: ByteString -> ((Ptr a, CSize) -> IO b) -> IO b Source #
unsafePackByteString :: (Ptr a, CSize) -> IO ByteString Source #
packByteString :: (Ptr a, CSize) -> IO ByteString Source #