Length must be an exact non-negative integer, and integer may be any exact integer. Converts integer into a newly allocated bit string of length bits, using two's complement encoding for negative numbers. Signals an error of type
condition-type:bad-range-argumentif integer is too large to be represented in length bits.
Converts bit-string into an exact integer.
bit-string->signed-integerregards bit-string as a two's complement representation of a signed integer, and produces an integer of like sign and absolute value.
bit-string->unsigned-integerregards bit-string as an unsigned quantity and converts to an integer accordingly.