Lines Matching refs:buf
315 byte[] buf = new byte[10];
319 raf.readFully(buf);
321 buf, 0, 10, "UTF-8"));
331 byte[] buf = new byte[10];
335 raf.readFully(buf, 0, buf.length);
337 buf, 0, 10, "UTF-8"));
339 raf.readFully(buf, 0, buf.length);
457 byte[] buf = new byte[5];
462 raf.readFully(buf);
463 assertEquals("Failed to skip bytes", "World", new String(buf, 0, 5, "UTF-8"));
712 byte[] buf = new byte[10];
716 raf.readFully(buf);
718 buf, 0, 10, "UTF-8"));