chickadee » byte-blob » file->byte-blob

file->byte-blob FILENAME #!optional MODEprocedure

Returns a byte-blob with the contents of the given file.

MODE is an optional argument that can be one of #:text or #:binary to specify text or binary mode on Windows.