All Manuals > LispWorks Foreign Language Interface User Guide and Reference Manual > 5 Function and Macro 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

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


LispWorks Foreign Language Interface User Guide and Reference Manual - 7 Dec 2011

NextPrevUpTopContentsIndex