Lines Matching full:mark
32 private long mark = -1;
70 @Override public void mark(int readlimit) {
71 in.mark(readlimit);
72 mark = count;
73 // it's okay to mark even if mark isn't supported, as reset won't work
78 throw new IOException("Mark not supported");
80 if (mark == -1) {
81 throw new IOException("Mark not set");
85 count = mark;