feedFeed data to the reader.
The call blocks while data from a previous invocation has not been fully read. The buffer passed as argument is locked (see
ManagedBuffer.lockBuffer()) until all data has been read.
Calling this method with
nullas argument closes the feed. After consuming any data still available from a previous invocation, further calls to
read(char, int, int)return -1.
buffer- the buffer
IOException- Signals that an I/O exception has occurred.
Note that this is the
In order to close the feed, call