const-0: Read-only mutable primitives

Copyright(c) 2019 Edward Kmett
LicenseBSD-2-Clause OR Apache-2.0
MaintainerEdward Kmett <ekmett@gmail.com>
Stabilityexperimental
Portabilitynon-portable
Safe HaskellTrustworthy
LanguageHaskell2010

Data.Const.ByteString

Description

 

Documentation

packACString :: forall s. ACString s => s -> IO ByteString Source #

packACStringLen :: forall s. ACString s => (s, Int) -> IO ByteString Source #

useAsConstCString :: forall a. ByteString -> (ConstCString -> IO a) -> IO a Source #