Package: alexandria

Function read-file-into-string

Lambda List

read-file-into-string (pathname &key buffer-size external-format)

Details

Return the contents of the file denoted by PATHNAME as a fresh string.

The EXTERNAL-FORMAT parameter will be passed directly to WITH-OPEN-FILEunless it's NIL, which means the system default.