FunctionPackage: exclToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.1
Unrevised from 10.0 to 10.1.
10.0 version

hex-string-to-usb8-array

Arguments: string &key start end

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-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.1
Unrevised from 10.0 to 10.1.
10.0 version