Lines Matching refs:off
158 public synchronized void write(byte[] bs, int off, int len)
161 if ((off < 0) || (off > bs.length) || (len < 0) ||
162 ((off + len) > bs.length) || ((off + len) < 0)) {
170 bb.limit(Math.min(off + len, bb.capacity()));
171 bb.position(off);
218 public synchronized int read(byte[] bs, int off, int len)
221 if ((off < 0) || (off > bs.length) || (len < 0) ||
222 ((off + len) > bs.length) || ((off + len) < 0)) {
230 bb.position(off);
231 bb.limit(Math.min(off + len, bb.capacity()));
290 public synchronized void write(byte[] bs, int off, int len)
293 if ((off < 0) || (off > bs.length) || (len < 0) ||
294 ((off + len) > bs.length) || ((off + len) < 0)) {
302 bb.limit(Math.min(off + len, bb.capacity()));
303 bb.position(off);