---
schema_version: "1"
id: e95cc14e7c5443ffaf811f626d1b99e70a84299a7d5129fd679735e3377049b3
title: Binary Format
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/dataweave/2.3/dataweave-formats-binary.md
canonical_url: https://docs.mulesoft.com/dataweave/2.3/dataweave-formats-binary
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 2fa7d71261e7b3121307e75ab82a2ed25a9a1ee751f3ac7f1cb3f9518fc40d8f
description: MuleSoft Documentation Site
release: "2.3"
latest: false
---
---
product: DataWeave
version: 2.3
---

# Binary Format

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

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.

<table><colgroup><col> <col> <col> <col></colgroup><thead><tr><th>Parameter</th><th>Type</th><th>Default</th><th>Description</th></tr></thead><tbody><tr><td><p><code>bufferSize</code></p></td><td><p><code>Number</code></p></td><td><p><code>8192</code></p></td><td><div><div><p>Size of the writer buffer.</p></div></div></td></tr><tr><td><p><code>deferred</code></p></td><td><p><code>Boolean</code></p></td><td><p><code>false</code></p></td><td><div><div><p>When set to <code>true</code>, DataWeave generates the output as a data stream, and the script’s execution is deferred until it is consumed. Valid values are <code>true</code> or <code>false</code>.</p></div></div></td></tr></tbody></table>

## Supported MIME Types

The Binary format supports the following MIME types.

<table><colgroup><col></colgroup><thead><tr><th>MIME Type</th></tr></thead><tbody><tr><td><p><code>application/octet-stream</code></p></td></tr><tr><td><p><code>application/x-binary</code></p></td></tr></tbody></table>
