168169170171172173174175176177178
{ Buffer fb = new ByteArrayBuffer(4); while (isStarted() && !isClosed()) { fb.clear(); int read = fill(fb); if (read == -1) throw new EofException();