Lines Matching defs:baos
193 * @param baos The output stream into which to write.
201 ByteArrayOutputStream baos)
210 ab.externalize(hdr, baos);
686 * @param baos The output stream into which to write.
689 * @exception IllegalArgumentException If any baos is null.
691 void externalize(SrvLocHeader hdr, ByteArrayOutputStream baos)
695 Assert.nonNullParameter(baos, "baos");
698 hdr.putInt(bsd, baos);
701 hdr.putInt(abLength, baos);
704 putInt32(timeStamp, baos);
708 hdr.putString(spi, baos);
711 baos.write(abBytes, 0, abBytes.length);
855 static private void putInt32(long i, ByteArrayOutputStream baos) {
856 baos.write((byte) ((i >> 24) & 0xFF));
857 baos.write((byte) ((i >> 16) & 0xFF));
858 baos.write((byte) ((i >> 8) & 0xFF));
859 baos.write((byte) (i & 0XFF));