Scieneer Common Lisp 1.3.9 online documentation

ext:convert-string-to-bytes iconv-desc string start available bytes head requested[Function]

Convert the native string, from offset start and using at most the available characters, into a foreign character encoding storing the result directly into the bytes vector string 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.