WebLogic Messaging API Class Library

IBytesMessage.WriteByte Method 

Writes a signed sbyte (8-bit signed integer with values ranging from negative 128 to positive 127) to the bytes message stream as a 1-byte value.

void WriteByte(
   SByte value


the sbyte value to be written


Exception Type Condition
MessageException if JMS fails to write the message due to some internal error.
MessageNotWriteableException if the message is in read-only mode.

See Also

IBytesMessage Interface | WebLogic.Messaging Namespace