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

NextPrevUpTopContentsIndex

encode-lisp-string

Function
Summary

Converts a string to an encoded binary vector.

Package

external-format

Signature

encode-lisp-string string external-format &key start end => vector

Arguments

string

A string.

external-format

An external format spec.

start, end

Bounding index designators of string.

Values

vector

A binary vector.

Description

The function encode-lisp-string converts the part of string bounded by start and end to a binary vector vector encoded in encoding external-format.

The element type of vector matches 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

decode-external-string


LispWorks User Guide and Reference Manual - 13 Feb 2015

NextPrevUpTopContentsIndex