Contact Us 1-800-596-4880

Binary Format

MIME type: application/octet-stream

ID: binary

The Binary data format handles binary content, such as an image or PDF. Such content is represented as a Binary type.

Note that Binary content is stored into RAM memory.

Configuration Properties

DataWeave supports the following configuration properties for this format.

Reader Properties

There are no reader properties for this format.

Writer Properties

This format accepts properties that provide instructions for writing output data.

Parameter Type Default Description

bufferSize

Number

8192

Size of the buffer writer.

deferred

Boolean

false

Generates the output as a data stream when set to true, and defers the script’s execution until the generated content is consumed.

Valid values are true or false.

Supported MIME Types

This format supports the following MIME types.

MIME Type

application/octet-stream

application/x-binary