Lines Matching refs:buf
758 byte[] buf = new byte[testLength];
770 raf.readFully(buf);
772 testString, new String(buf));
775 raf.readFully(buf);
789 raf.readFully(buf);
801 byte[] buf = new byte[testLength];
813 raf.readFully(buf, 5, testLength - 10);
815 assertEquals("Test 2: Incorrect bytes read;", 0, buf[i]);
819 new String(buf, 5, testLength - 10));
823 raf.readFully(buf, 3, testLength - 6);
831 raf.readFully(buf, -1, 1);
837 raf.readFully(buf, 0, -1);
843 raf.readFully(buf, 2, testLength);
852 raf.readFully(buf);
970 byte[] buf = new byte[5];
981 raf.readFully(buf);
983 "World", new String(buf, 0, 5));