@Test
public void test() {

    byte[] content = new String("123").getBytes(StandardCharsets.UTF_8);
    byte [] readBy = new byte[2];
    InMemoryInputStream stream = new InMemoryInputStream(content);
    for (int index=0; index < 25; index++) {
        int read = stream.read(readBy, 0, readBy.length);
        puts(read, readBy, new String(readBy, StandardCharsets.UTF_8));
    }
}