- read-items!/u8 handle buffer #!optional nprocedure
- read-items!/s8 handle buffer #!optional nprocedure
- read-items!/s16 handle buffer #!optional nprocedure
- read-items!/s32 handle buffer #!optional nprocedure
- read-items!/f32 handle buffer #!optional nprocedure
- read-items!/f64 handle buffer #!optional nprocedure
Reads n items from the open file handle in buffer and returns the number of items read. The procedure is safe and it makes sure you're using the right kind of srfi-4 vector and that it is big enough to hold the data. Note that n is optional, by omitting it the library assumes you want to read enough data to fill the whole buffer.