checkStatus(h, buf, "mark", 10, 10, true, 10, 0);
buf.position(5);
checkStatus(h, buf, "mark", 10, 10, true, 5, 5);
h.check(buf.reset(), buf, "mark: buf.reset()");
checkStatus(h, buf, "mark", 10, 10, true, 10, 0);
buf.position(6);
checkStatus(h, buf, "mark", 10, 10, true, 4, 6);
buf.reset();
checkStatus(h, buf, "mark", 10, 10, true, 10, 0);
// mark at specified position