WebLogic Messaging API Class Library |

# IStreamMessage.ReadByte Method

Reads a `sbyte` value from the stream message.

sbyte ReadByte();

#### Return Value

the next sbyte from the stream message as a 8-bit `sbyte`

#### Exceptions

Exception Type | Condition
--- | ---
MessageException | if JMS fails to read the message due to some internal error.
MessageEOFException | if unexpected end of message stream has been reached.
MessageFormatException | if this type conversion is invalid.
MessageNotReadableException | if the message is in write-only mode.

#### See Also

IStreamMessage Interface | WebLogic.Messaging Namespace