hsfm-gtk

Safe HaskellNone
LanguageHaskell2010

HSFM.GUI.Glib.GlibString

Contents

Documentation

c_strlen :: CString -> IO CSize Source #

noNullPtrs :: CStringLen -> CStringLen Source #

Orphan instances

GlibString ByteString Source # 

Methods

withUTFString :: ByteString -> (CString -> IO a) -> IO a

withUTFStringLen :: ByteString -> (CStringLen -> IO a) -> IO a

peekUTFString :: CString -> IO ByteString

maybePeekUTFString :: CString -> IO (Maybe ByteString)

peekUTFStringLen :: CStringLen -> IO ByteString

newUTFString :: ByteString -> IO CString

newUTFStringLen :: ByteString -> IO CStringLen

genUTFOfs :: ByteString -> UTFCorrection

stringLength :: ByteString -> Int

unPrintf :: ByteString -> ByteString