chickadee » byte-sequence » file->byte-sequence

file->byte-sequence FILENAME #!optional MODEprocedure

Returns a byte-sequence 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.