A new mechanism allows you to convert any Lisp integer into a foreign array of bytes and to convert that array back to an equivalent Lisp integer. This would allow the integer to be stored in and retrieved from a database, for example.
See the section "Lisp Integers", the macro
fli:with-integer-bytes
and the functions
fli:convert-integer-to-dynamic-foreign-object
and
fli:make-integer-from-bytes
in the
LispWorks Foreign Language Interface User Guide and Reference Manual