O'Reilly logo

Special Edition Using Java™ 2 Enterprise Edition by Mark Wutka

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Interfaces

BytesMessages

The BytesMessage method lets you store various types of data in a message as a stream of bytes. The interface to this class is similar to the DataInput and DataOutput interfaces.

read Methods
 public boolean readBoolean() throws JMSException public byte readByte() throws JMSException public int readBytes(byte[] value) throws JMSException public int readBytes(byte[] value, int length) throws JMSException public char readChar() throws JMSException public double readDouble() throws JMSException public float readFloat() throws JMSException public int readInt() throws JMSException public long readLong() throws JMSException public short readShort() throws JMSException public int readUnsignedByte() throws JMSException public ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required