cl-base64

API Reference

cl-base64

Base64 encoding and decoding with URI support.

CL-BASE64

  • Variable *URI-ENCODE-TABLE*
    "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz0123456789-_"
  • Function MAKE-DECODE-TABLE (encode-table)
  • Variable *URI-DECODE-TABLE*
    (cl-base64:make-decode-table cl-base64:*uri-encode-table*)
  • Function STRING-TO-BASE64-STRING (input &key (uri nil) (columns 0))
    Encode a string array to base64. If columns is > 0, designates maximum number of columns in a line and the string will be terminated with a #Newline.
  • Function STRING-TO-BASE64-STREAM (input output &key (uri nil) (columns 0))
    Encode a string array to base64. If columns is > 0, designates maximum number of columns in a line and the string will be terminated with a #Newline.
  • Function USB8-ARRAY-TO-BASE64-STRING (input &key (uri nil) (columns 0))
    Encode a string array to base64. If columns is > 0, designates maximum number of columns in a line and the string will be terminated with a #Newline.
  • Function USB8-ARRAY-TO-BASE64-STREAM (input output &key (uri nil) (columns 0))
    Encode a string array to base64. If columns is > 0, designates maximum number of columns in a line and the string will be terminated with a #Newline.
  • Function INTEGER-TO-BASE64-STRING (input &key (uri nil) (columns 0))
    Encode an integer to base64 format.
  • Function INTEGER-TO-BASE64-STREAM (input stream &key (uri nil) (columns 0))
    Encode an integer to base64 format.
  • Function BASE64-STRING-TO-STRING (input &key (uri nil))
    Decode base64 string to string
  • Function BASE64-STRING-TO-STREAM (input &key (uri nil) stream)
    Decode base64 string to stream
  • Function BASE64-STRING-TO-USB8-ARRAY (input &key (uri nil))
    Decode base64 string to usb8-array
  • Function BASE64-STRING-TO-INTEGER (string &key (uri nil))
    Decodes a base64 string to an integer
  • Function BASE64-STREAM-TO-INTEGER (stream &key (uri nil))
    Decodes a base64 string to an integer