Lines Matching refs:length
76 return mData.length - mIndex;
92 while (mData.length == mIndex) {
102 return read(b, 0, b.length);
106 public synchronized int read(byte[] b, int offset, int length) throws IOException {
111 if ((offset | length) < 0 || length > b.length - offset) {
116 int currentDataLength = mData.length - mIndex;
117 int remainReadLength = length;
131 currentDataLength = mData.length - mIndex;
149 int length = (body.length - start) + (mData.length - mIndex);
150 byte[] temp = new byte[length];
152 System.arraycopy(mData, mIndex, temp, 0, mData.length - mIndex);
153 System.arraycopy(body, start, temp, mData.length - mIndex, body.length - start);