WebLogic Messaging API Class Library |

# IMapMessage.GetBytes Method

Returns the byte array value with the specified name.

byte[] GetBytes(
String name
);

#### Parameters

String
  the name of the byte array

#### Return Value

a copy of the byte array value with the specified name; if there is no item by this name, a null value is returned.

#### Exceptions

Exception Type | Condition
--- | ---
MessageException | if JMS fails to read the message due to some internal error.
MessageFormatException | if this type conversion is invalid.

#### See Also

IMapMessage Interface | WebLogic.Messaging Namespace