Lines Matching refs:buf
48 byte buf[] = new byte[2];
49 int read = is.read(buf);
50 System.out.println("read(buf) returns: " + read);
59 byte buf[] = new byte[2];
61 int read = is.read(buf, 0, len);
62 System.out.println("read(buf, 0, len) returns: " + read);
242 byte buf[] = new byte[2];
244 pis.unread(buf, 0, 2);
245 System.out.println("Test failed for unread(buf, offset, len):" +
249 System.out.println("UNREAD(buf, offset, len):true");
252 pis.unread(buf);
253 System.out.println("Test failed for unread(char[] buf):" + pis);
256 System.out.println("UNREAD(buf):true");