Open topic with navigation

TIBCO Rendezvous® 8.8.0

# ICustomDataTypeAdapter.Encode()

Method

## Visual Basic

    Function Encode(
        ByVal customDataType As ICustomDataType) )
      As Byte()

## C#

    byte[] Encode(
        ICustomDataType customDataType);

## Purpose

Encode a custom datatype instance to produce a byte array.

## Remarks

When this method successfully encodes the data, it must return the encoding as a byte array; the byte array can have length zero. When this method fails, it must return null.

Rendezvous methods that call this encoder incorporate its byte array value directly into a Message object.

Parameter | Description
customDataType | Encode this data (that is, an instance of a custom datatype class).

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-2025. Cloud Software Group, Inc. All Rights Reserved.