Next: , Previous: , Up: Design Choices and Extensions   [Contents][Index]


2.12 Stream Extensions

Function: sys: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.