Contact Free trial Login

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 Binary data.

Writer Properties

The Binary format accepts properties that provide instructions for writing output data.

Parameter Type Default Description

bufferSize

Number

8192

Size of the writer buffer.

deferred

Boolean

false

Property for deferred output. Valid values are true or false.

Supported MIME Types

The Binary format supports the following MIME types.

MIME Type

application/octet-stream

application/x-binary

Was this article helpful?

💙 Thanks for your feedback!

Edit on GitHub