FunctionPackage: exclToCDocOverviewCGDocRelNotesIndexPermutedIndex
Allegro CL version 7.0
Unrevised from 6.2 to 7.0. New since 7.0 release.

hex-string-to-usb8-array

Arguments: string &key start end

This function was added by an update released approximately 8/30/05. The description here applies only if the update has been applied. Use sys:update-allegro to obtain the update.

This function converts the portion of string delimited by start and end (defaults: beginning and end of the string) to an array of (unsigned-byte 8). Example:

(hex-string-to-usb8-array "01020304") ==> #(1 2 3 4)

This function is useful with encryption routines. See, for example, Support for Blowfish encryption in miscellaneous.htm. Support for encryption in the same document discusses encryption support in Allegro CL in general.

See also usb8-array-to-hex-string, hex-string-to-integer and integer-to-hex-string.


Copyright (c) 1998-2006, Franz Inc. Oakland, CA., USA. All rights reserved.
Documentation for Allegro CL version 7.0. This page was not revised from the 6.2 page.
Created 2004.8.21.

ToCDocOverviewCGDocRelNotesIndexPermutedIndex
Allegro CL version 7.0
Unrevised from 6.2 to 7.0. New since 7.0 release.