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

NextPrevUpTopContentsIndex

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-lisp-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

encode-lisp-string


LispWorks User Guide and Reference Manual - 20 Sep 2017

NextPrevUpTopContentsIndex