|Copyright||(c) The University of Glasgow, 2008-2011|
Foreign marshalling support for CStrings with configurable encodings
Marshal a NUL terminated C string into a Haskell string.
Marshal a C string with explicit length into a Haskell string.
Marshal a Haskell string into a NUL terminated C string.
Marshal a Haskell string into a C string (ie, character array) with explicit length information.
Marshal a Haskell string into a NUL terminated C string using temporary storage.
Marshal a Haskell string into a C string (ie, character array) in temporary storage, with explicit length information.
Determines whether a character can be accurately encoded in a
Pretty much anyone who uses this function is in a state of sin because whether or not a character is encodable will, in general, depend on the context in which it occurs.
© The University of Glasgow and others
Licensed under a BSD-style license (see top of the page).