I need to convert a PDF to a Byte Array and passing it to my request XML. I am using Base 64 Encoder step. Is Byte Array and Base 64 Encoder are same? Please clarify. Thanks!
Typicall, if you are passing it in to an XML request, you would want an encoded string. The Base64 Encoder Step does that.
Base64 is a binary-to-text encoding schemes that represent binary data in an ASCII string format by translating it into a radix-64 representation.
Base64 encoding schemes are commonly used when there is a need to encode binary data that needs to be stored and transferred over media that is designed to deal with textual data.
A ByteArray represents the data within an arbitrary binary file. Files are made of bytes. Bytes are 8 bits. Bits are binary flags which can be either 0 or 1. Together, 8 bits can contain a range of values between 00000000 and 11111111 (in binary) which is 0-255 in base 10 or 0-FF in Hex. Each element within a ByteArray is a byte or an integer between 0-255.
Retrieving data ...