Lines Matching refs:bytes
92 // Sizes of option id and extension fields (in bytes).
328 // Externalize the message by converting it to bytes and writing
634 byte[] bytes = obaos.toByteArray();
636 baos.write(bytes, 0, bytes.length);
667 // Convert to UTF8 bytes.
669 byte[] bytes = getStringBytes(address, Defaults.UTF8);
671 // Write bytes to stream if there's room.
673 if (bytes.length <= available) {
674 bbaos.write(bytes, 0, bytes.length);
675 available = available - bytes.length;
802 // Convert the URL to bytes.
804 byte[] bytes = getStringBytes(surl.toString(), Defaults.UTF8);
826 putInteger(bytes.length, abaos);
829 message[1] = bytes;
836 bytes = (byte[]) bytesArray[1];
840 // Put out the URL bytes.
842 putInt(bytes.length, bbaos);
843 bbaos.write(bytes, 0, bytes.length);
845 nbytes += bytes.length;
862 bytes = bbaos.toByteArray();
865 baos.write(bytes, 0, bytes.length);
900 // Parse in a list of attributes into attrs, returing raw bytes.
942 byte[] bytes = null;
965 bytes = getStringBytes(clist, Defaults.UTF8);
969 putInteger(bytes.length, abaos);
972 message[1] = bytes;
977 bytes = (byte[]) bytesArray[1];
989 // Write out the bytes.
991 putInt(bytes.length, baos);
992 baos.write(bytes, 0, bytes.length);
993 nbytes += bytes.length;
1008 return bytes;