All Manuals > LispWorks Foreign Language Interface User Guide and Reference Manual > 7 Function, Macro and Variable Reference

NextPrevUpTopContentsIndex

make-integer-from-bytes

Function
Summary

Converts foreign bytes back to a Lisp integer.

Signature

make-integer-from-bytes pointer length => integer

Arguments

pointer

A foreign pointer.

length

An integer.

Values

integer

An integer.

Description

The function make-integer-from-bytes converts length bytes starting at pointer into the Lisp integer integer. The bytes and length must have been generated by with-integer-bytes or convert-integer-to-dynamic-foreign-object.

See also

Lisp integers
with-integer-bytes
convert-integer-to-dynamic-foreign-object


LispWorks Foreign Language Interface User Guide and Reference Manual - 29 Sep 2017

NextPrevUpTopContentsIndex