Scieneer Common Lisp 1.3.9 online documentation

ext:iconv-from-natural iconv-desc input-sap start available buffer-sap head requested[Function]

Convert the native lisp format characters stored in foreign storage pointed to by input-sap, from offset start and using at most the available characters, into a foreign character encoding stored in foreign storage pointed to by buffer-sap at the offset head and for up to the requested number of bytes. The character conversion is determined by the iconv-desc. The number of characters consumed and the number of bytes written are returned. The conversion stops at the first conversion error, and the error will be signaled if it occurs at the first character otherwise a partial conversion is returned.