Lines Matching refs:baos
114 abstract void externalize(SLPHeaderV2 hdr, ByteArrayOutputStream baos)
332 externalize(ByteArrayOutputStream baos, boolean mcast, boolean isTCP)
434 baos.write((byte) (0xFF & version));
435 baos.write((byte) (0xFF & functionCode));
439 putInt24(length, baos);
465 baos.write((byte) (0xFF & flags));
466 baos.write((byte)0);
468 putInt24(optOff, baos); // write option offset, if any.
470 putInt(xid, baos); // write xid.
472 putInt(ltagLen, baos); // write lang size.
473 baos.write(ltagBytes, 0, ltagBytes.length); // write lang tag.
479 baos.write(payloadBytes, 0, payloadBytes.length);
586 private int externalizeOptions(ByteArrayOutputStream baos, int langTagLen)
598 toOpt = HEADER_BYTES + langTagLen + baos.size();
620 putInt(id.intValue(), baos);
627 putInt(nextOpt, baos);
630 putInt(0, baos);
636 baos.write(bytes, 0, bytes.length);
650 ByteArrayOutputStream baos,
693 putInt(out.length, baos);
694 baos.write(out, 0, out.length);
792 ByteArrayOutputStream baos,
865 baos.write(bytes, 0, bytes.length);
938 ByteArrayOutputStream baos,
991 putInt(bytes.length, baos);
992 baos.write(bytes, 0, bytes.length);
998 baos.write((byte)(nBlocks & 0xFF));
1005 AuthBlock.externalizeAll(this, auth, baos);