- read-bytevector #!optional NUM PORTprocedure
Read NUM bytes from PORT, which defaults to the value of (current-input-port). read-bytevector allocates a new buffer and returns it (or the end-of-file object, if at the end of the input file).
If NUM is optional and not given, then all remaining input is read or the whole bytevector is read/written.