Fix for string-stream-read-n-bytes: when the requested number of bytes
is greater than those available, copy all those available and return the number copied; it had been simply returning Nil or generating an end-of-file error without coping any bytes. This enables read-sequence to once again use the n-bin method on string streams; remove the hack restriction. Also fix an error in the returned element index for the case in which the start index is not zero.
Loading
Please register or sign in to comment