next up previous contents index
Next: Running Programs from Lisp Up: Design Choices and Extensions Previous: The Reader   Contents   Index

Stream Extensions

[Function]
extensions: read-n-bytes
stream buffer start numbytes &optional eof-error-p

On streams that support it, this function reads multiple bytes of data into a buffer. The buffer must be a simple-string or (simple-array (unsigned-byte 8) (*)). The argument nbytes specifies the desired number of bytes, and the return value is the number of bytes actually read.



Peter Van Eynde 2001-03-08