Summary
NOTE: This data encoder passes a byte array to the profile's
_datainput.
Binary data needs an encoder that passes the data through unchanged. This reference describes the byte-array data encoder for integration specialists and IT admins.
Purpose
The byte-array data encoder passes a byte array to a Lobster Integration profile. The target profile receives the data at the _data input. The encoder passes the bytes through unchanged. It adds no structure and no format information.
Choose this data encoder when the target profile expects raw data. Typical cases include files, images, and compressed data.
Difference from other data encoders
The other data encoders convert the object into a text format. The XML data encoder produces XML. The JSON data encoder produces JSON. The byte-array data encoder transfers unchanged bytes instead.
If the target profile needs to evaluate a data structure, choose one of the text-format encoders.
Counterpart: Byte-array data decoder
The byte-array data decoder reads a byte array from the profile's response. Together, the encoder and decoder form the outbound and return path of the data transfer.