Open topic with navigation

TIBCO Rendezvous® 8.7.0

# TibrvMsgDecoder.decode()

Method

## Declaration

    java.lang.Object decode(
        short type,
        byte[] bytes)

## Purpose

Decode data (of a custom datatype) from wire format into a Java object.

## Remarks

When this method successfully decodes the data, it must return the decoding as a Java object. When this method cannot decode the data, it must return `null`.

Parameter | Description
`type` | Decode this custom datatype.
`bytes` | Decode the data contained in this byte array. This argument cannot be `null`. However, it can be a byte array with length zero.

## See Also

TibrvMsgEncoder.encode()

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO Rendezvous®

Copyright © 1997-2023. Cloud Software Group, Inc. All Rights Reserved.