Lines Matching refs:buf
106 private void readBuf(InputStream is, byte[] buf) throws IOException {
107 int l = buf.length;
111 i = is.read(buf, count, l - count);
124 byte[] buf = new byte[ulen];
125 readBuf(in, buf);
126 String uname = new String(buf);
132 buf = new byte[ulen];
133 readBuf(in, buf);
134 password = new String(buf);
201 byte[] buf = new byte[4];
202 readBuf(in, buf);
203 InetAddress addr = InetAddress.getByAddress(buf);
220 out.write(buf);
231 out.write(buf);
260 byte[] buf = null;
262 buf = new byte[n];
263 readBuf(in, buf);
267 if (buf[i] == USER_PASSW)
411 byte[] buf = new byte[4];
412 readBuf(in, buf);
416 sb.append(buf[i]&0xff);
426 byte[] buf = new byte[i];
427 readBuf(in, buf);
428 addr = new String(buf);
433 byte[] buf = new byte[16];
434 readBuf(in, buf);
438 sb.append(Integer.toHexString(buf[i]&0xff));