Lines Matching refs:len
93 public final void write(byte b[], int off, int len) {
94 ensureFit(len);
95 System.arraycopy(b, off, mBuffer, mOffset, len);
96 mOffset += len;
140 public final int read(byte[] b, int off, int len) {
144 if ((mPos + len) > mSize) {
145 len = mSize - mPos;
147 System.arraycopy(mBuffer, mPos, b, off, len);
148 mPos += len;
149 return len;