public int read(char b[]) throws IOException { return read(b, 0, b.length); }
@Test public void test() { String content = new String("123"); char [] readBy = new char[2]; InMemoryReader reader = new InMemoryReader(content); for (int index=0; index < 5; index++) { int read = reader.read(readBy, 0, readBy.length); puts(read, readBy, new String(readBy)); } } }
public int read(char b[]) throws IOException { return read(b, 0, b.length); }
public int read(char b[]) throws IOException { return read(b, 0, b.length); }