2016-06-05 18:20:18 +00:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> < html xmlns = "http://www.w3.org/1999/xhtml" > < head > < meta http-equiv = "Content-Type" content = "text/html; charset=UTF-8" / > < title > HSFM.GUI.Glib.GlibString< / title > < link href = "ocean.css" rel = "stylesheet" type = "text/css" title = "Ocean" / > < script src = "haddock-util.js" type = "text/javascript" > < / script > < script src = "https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type = "text/javascript" > < / script > < script type = "text/javascript" > / / < ! [ C D A T A [
2016-06-01 17:32:51 +00:00
window.onload = function () {pageLoad();setSynopsis("mini_HSFM-GUI-Glib-GlibString.html");};
//]]>
2016-06-05 18:20:18 +00:00
< / script > < / head > < body > < div id = "package-header" > < ul class = "links" id = "page-menu" > < li > < a href = "src/HSFM-GUI-Glib-GlibString.html" > Source< / a > < / li > < li > < a href = "index.html" > Contents< / a > < / li > < li > < a href = "doc-index.html" > Index< / a > < / li > < / ul > < p class = "caption" > hsfm-gtk< / p > < / div > < div id = "content" > < div id = "module-header" > < table class = "info" > < tr > < th > Safe Haskell< / th > < td > None< / td > < / tr > < tr > < th > Language< / th > < td > Haskell2010< / td > < / tr > < / table > < p class = "caption" > HSFM.GUI.Glib.GlibString< / p > < / div > < div id = "table-of-contents" > < p class = "caption" > Contents< / p > < ul > < li > < a href = "#section.orphans" > Orphan instances< / a > < / li > < / ul > < / div > < div id = "interface" > < h1 > Documentation< / h1 > < div class = "top" > < p class = "src" > < a id = "v:c_strlen" class = "def" > c_strlen< / a > :: < a href = "https://hackage.haskell.org/package/base-4.9.0.0/docs/Foreign-C-String.html#t:CString" > CString< / a > -> < a href = "https://hackage.haskell.org/package/base-4.9.0.0/docs/System-IO.html#t:IO" > IO< / a > < a href = "https://hackage.haskell.org/package/base-4.9.0.0/docs/Foreign-C-Types.html#t:CSize" > CSize< / a > < a href = "src/HSFM-GUI-Glib-GlibString.html#c_strlen" class = "link" > Source< / a > < a href = "#v:c_strlen" class = "selflink" > #< / a > < / p > < / div > < div class = "top" > < p class = "src" > < a id = "v:noNullPtrs" class = "def" > noNullPtrs< / a > :: < a href = "https://hackage.haskell.org/package/base-4.9.0.0/docs/Foreign-C-String.html#t:CStringLen" > CStringLen< / a > -> < a href = "https://hackage.haskell.org/package/base-4.9.0.0/docs/Foreign-C-String.html#t:CStringLen" > CStringLen< / a > < a href = "src/HSFM-GUI-Glib-GlibString.html#noNullPtrs" class = "link" > Source< / a > < a href = "#v:noNullPtrs" class = "selflink" > #< / a > < / p > < / div > < h1 > Orphan instances< / h1 > < div id = "section.orphans" class = "show" > < table > < tr > < td class = "src clearfix" > < span class = "inst-left" > < span id = "control.i:o:ic:GlibString:GlibString:1" class = "instance expander" onclick = "toggleSection('i:o:ic:GlibString:GlibString:1')" > < / span > GlibString < a href = "https://hackage.haskell.org/package/bytestring-0.10.8.1/docs/Data-ByteString.html#t:ByteString" > ByteString< / a > < / span > < a href = "src/HSFM-GUI-Glib-GlibString.html#line-58" class = "link" > Source< / a > < a href = "#v:-36-fGlibStringByteString" class = "selflink" > #< / a > < / td > < td class = "doc empty" > < / td > < / tr > < tr > < td colspan = "2" > < div id = "section.i:o:ic:GlibString:GlibString:1" class = "inst-details hide" > < div class = "subs methods" > < p class = "caption" > Methods< / p > < p class = "src" > < a href = "#v:withUTFString" > withUTFString< / a > :: < a href = "https://hackage.haskell.org/package/bytestring-0.10.8.1/docs/Data-ByteString.html#t:ByteString" > ByteString< / a > -> (< a href = "https://hackage.haskell.org/package/base-4.9.0.0/docs/Foreign-C-String.html#t:CString" > CString< / a > -> < a href = "https://hackage.haskell.org/package/base-4.9.0.0/docs/System-IO.html#t:IO" > IO< / a > a) -> < a href = "https://hackage.haskell.org/package/base-4.9.0.0/docs/System-IO.html#t:IO" > IO< / a > a< / p > < p class = "src" > < a href = "#v:withUTFStringLen" > withUTFStringLen< / a > :: < a href = "https://hackage.haskell.org/package/bytestring-0.10.8.1/docs/Data-ByteString.html#t:ByteString" > ByteString< / a > -> (< a href = "https://hackage.haskell.org/package/base-4.9.0.0/docs/Foreign-C-String.html#t:CStringLen" > CStringLen< / a > -> < a href = "https://hackage.haskell.org/package/base-4.9.0.0/docs/System-IO.html#t:IO" > IO< / a > a) -> < a href = "https://hackage.haskell.org/package/base-4.9.0.0/docs/System-IO.html#t:IO" > IO< / a > a< / p > < p class = "src" > < a href = "#v:peekUTFString" > peekUTFString< / a > :: < a href = "https://hackage.haskell.org/package/base-4.9.0.0/docs/Foreign-C-String.html#t:CString" > CString< / a > -> < a href = "https://hackage.haskell.org/package/base-4.9.0.0/docs/System-IO.html#t:IO" > IO< / a > < a href = "https://hackage.haskell.org/package/bytestring-0.10.8.1/docs/Data-ByteString.html#t:ByteString" > ByteString< / a > < / p > < p class = "src" > < a href = "#v:maybePeekUTFString" > maybePeekUTFString< / a > :: < a href = "https://hackage.haskell.org/package/base-4.9.0.0/docs/Foreign-C-String.html#t:CString" > CString< / a > -> < a href = "https://hackage.haskell.org/package/base-4.9.0.0/docs/System-IO.html#t:IO" > IO< / a > (< a href = "https://hackage.haskell.org/package/base-4.9.