Home | History | Annotate | Download | only in io

Lines Matching refs:position

26             private int position = offset;
28 growBufferIfNeeded(position);
29 buf[position++] = (byte)b;
33 growBufferIfNeeded(position + b.length);
34 System.arraycopy(b, 0, buf, position, b.length);
35 position += b.length;
39 growBufferIfNeeded(position + len);
40 System.arraycopy(b, off, buf, position, len);
41 position += len;
55 private int position = offset;
58 if (position >= buf.length) {
61 return buf[position++];
65 int readLength = Math.min(b.length, buf.length - position);
67 if (position >= buf.length) {
72 System.arraycopy(buf, position, b, 0, readLength);
73 position += readLength;
78 int readLength = Math.min(len, buf.length - position);
80 if (position >= buf.length) {
85 System.arraycopy(buf, position, b, 0, readLength);
86 position += readLength;
91 int skipLength = (int)Math.min(n, buf.length - position);
92 position += skipLength;
97 return buf.length - position;