question

Upvotes
Accepted
301 13 33 38

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-apiencodingbufferjson-payload
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

· Write an Answer
Upvotes
Accepted
588 14 20 19

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.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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