Asynchronously fills a buffer with bytes read from an async-io-state.
cl:base-string or an 8-bit
A function designator for a function of 3 arguments.
A lower bounding index designator for buffer.
An upper bounding index designator for buffer.
nil or a positive real.
A function designator for a function of 3 arguments, or
A Lisp object.
async-io-state-read-buffer asynchronously fills the buffer buffer between start and end with bytes read from async-io-state. When buffer is full (between start and end) or the async-io-state-read-timeout of async-io-state has passed, the callback is called like this:
callback async-io-state buffer number-of-bytes-read
error-callback async-io-state buffer number-of-bytes-read
If error-callback is
nil, then callback is called, so it should check for errors using async-io-state-read-status.
LispWorks User Guide and Reference Manual - 20 Sep 2017