Writes the given items this stream's internal buffer, and flushes if we reach the buffer's capacity.
The elements to write.
The number of elements that were written, or -1 in case of error.
See Implementation
Writes the given items this stream's internal buffer, and flushes if we reach the buffer's capacity.