Try OpenEdge Now
skip to main content
Messaging and ESB
ABL - JMS API Reference : writeByte procedure
 

writeByte procedure

Writes byte data to the body of a StreamMessage.

Syntax

PROCEDURE writeByte.
DEFINE INPUT PARAMETER value AS INTEGER.

Applies to

Message objects

Notes

*Byte values range from –128 to 127.
*The server returns a NumberFormatException message for a value overflow. For example, calling writeByte(1000) results in a value overflow.
*Used in write-only mode to write an additional bytes segment to a BytesMessage.

See also

createStreamMessage procedure, writeBoolean procedure, writeByte procedure, writeBytesFromRaw procedure, writeChar procedure, writeDate procedure, writeDateTime procedure, writeDateTime-TZ procedure, writeDouble procedure, writeFloat procedure, writeInt procedure, writeLong procedure, writeLongString procedure, writeShort procedure, writeString procedure, endOfStream function, moveToNext procedure, readBytesToRaw procedure, readChar function, readDate function, readDateTime function, readDateTime-TZ function, readDecimal function, readInt function, readLogical function, readLongString function, readLongStringCP function
For more information, see the StreamMessage.