Copies buffered data from an async-io-state and discards it from the state.
An async-io-state.
A cl:base-string
or an 8-bit cl:simple-array
.
A lower bounding index designator for buffer.
An upper bounding index designator for buffer.
The function async-io-state-get-buffered-data
copies to the buffer buffer (between start and end) as much as possible of the buffered data in async-io-state and discards it from async-io-state.
The default value of start is 0. The default value of end is the length of buffer.
The return value length is the number of elements copied into buffer.
async-io-state-get-buffered-data
cannot be called while an operation is active in async-io-state, that is between the call to async-io-state-read-buffer or async-io-state-write-buffer, and the call to the callback or async-io-state-abort, or between a call to async-io-state-read-with-checking and the call to async-io-state-finish or async-io-state-abort.
Use async-io-state-buffered-data-length to find how much buffered data there is in async-io-state.
LispWorks User Guide and Reference Manual - 20 Sep 2017