question

Upvotes
Accepted
301 7 22 30

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 512.0 KiB each and 1.0 MiB total.

1 Answer

Upvotes
Accepted
588 10 14 17

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 512.0 KiB each and 1.0 MiB total.