All Manuals > LispWorks® User Guide and Reference Manual > 36 The EXTERNAL-FORMAT Package

decode-external-string Function

Summary

Decodes a binary vector to make a string.

Package

external-format

Signature

decode-external-string vector external-format &key start end => string

Arguments
vector
A binary vector.
external-format
An external format spec.
start, end
Bounding index designators of vector.
Values
string
A string.
Description

The function decode-external-string decodes the integers in the part of the vector vector bounded by start and end using encoding external-format to make a string string.

The element type of vector does not need to match the external-format-foreign-type of external-format.

Compatibility notes

This function exists in LispWorks 5.0 but is not documented and does not take the :start and :end arguments. Also, it was inefficient prior to LispWorks 5.0.1.

See also

26.6 External Formats to translate Lisp characters from/to external encodings
encode-lisp-string


LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:34