Copies buffered data from an async-io-state and discards it from the state.
cl:base-string or an 8-bit
A lower bounding index designator for buffer.
An upper bounding index designator for 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 - 13 Feb 2015