question

Upvotes
Accepted
301 6 17 27

Is it possible to create pre-encoded RWF FieldList data?

I am using UPA Java and for ANSI Page payload we could use Msg.encodedDataBody(Buffer encodedDataBody) to encode pre-encoded data, however I am not sure if we can do the same for RWF data (e.g. FieldList)?

elektronelektron-sdkrrteta-apielektron-transport-apibufferjson-payloadencoding
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvotes
Accepted
588 8 13 16

Yes, a pre-encoded field list can be added to an update message via Msg.encodedDataBody(Buffer encodedDataBody). You must then call Msg.encode(EncodeIterator iter) before writing the message to the wire.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea