while (reserveRead(Math.min(1,in.available()))==0); return in.read();
int got = in.read(); if (got < 0) return got; while (reserveRead(1)==0); return got;
        public int read() throws IOException {            while (reserveRead(Math.min(1,in.available()))==0);            return in.read();        }