* @exception MessageEOFException Unexpected end of bytes array.
* @exception JMSException internal error
*/
public int readBytes(byte[] bytes) throws JMSException {
if (! RObody)
throw new MessageNotReadableException("Can't read the message body as"
+ " it is write-only.");
if (bytes == null) return -1;
if (bytes.length == 0) return 0;