
Converts between a Lisp string and a C multi-byte string with a specified maximum number of bytes.
The FLI :ef-mb-string type converts between a Lisp string and a C multi-byte string. The C string may have a maximum length of limit bytes.
The external-format is used to specify the format of the foreign string. It defaults to a format appropriate for C string of type char* . If you want to pass a string to the Windows API, known as STR in the Windows API terminology, specify win32:*multibyte-code-page-ef* , which is a variable holding the external format corresponding to the current Windows multi-byte code page.