---
schema_version: "1"
id: c5440848844c37940dd869a09ad0e3d1b92b1147ee3ecce1a7023db2c15eb669
title: Binaries (dw::core::Binaries)
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/dataweave/2.8/dw-binaries.md
canonical_url: https://docs.mulesoft.com/jp/dataweave/2.8/dw-binaries
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 50b9d2f84ae35567aff6aa71915df2a76bd9624c838071b50f5cb1dd70ab8d2d
description: MuleSoft Documentation Site
release: "2.8"
latest: false
---
# Binaries (dw::core::Binaries)

このモジュールには、バイナリを処理するためのヘルパー関数が含まれます。

このモジュールを使用するには、DataWeave コードにインポートする必要があります。その方法として、たとえば、行 ​`import * from dw::core::Binaries`​ を DataWeave スクリプトの ヘッダーに追加します。

## [](#関数)関数

<table class="tableblock frame-all grid-all stretch">
<colgroup>
<col style="width: 25%;">
<col style="width: 75%;">
</colgroup>
<thead>
<tr>
<th class="tableblock halign-left valign-top">名前</th>
<th class="tableblock halign-left valign-top">説明</th>
</tr>
</thead>
<tbody>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="https://docs.mulesoft.com/jp/dataweave/2.8/dw-binaries-functions-concatwith" class="xref page">concatWith</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">2 つのバイナリのコンテンツを連結します。</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="https://docs.mulesoft.com/jp/dataweave/2.8/dw-binaries-functions-frombase64" class="xref page">fromBase64</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">Base64 文字列をバイナリ値に変換します。</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="https://docs.mulesoft.com/jp/dataweave/2.8/dw-binaries-functions-fromhex" class="xref page">fromHex</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">16 進文字列をバイナリに変換します。</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="https://docs.mulesoft.com/jp/dataweave/2.8/dw-binaries-functions-readlineswith" class="xref page">readLinesWith</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">指定されたバイナリコンテンツを複数の行に分割し、結果を配列で返します。</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="https://docs.mulesoft.com/jp/dataweave/2.8/dw-binaries-functions-tobase64" class="xref page">toBase64</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">バイナリ値を Base64 文字列に変換します。</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="https://docs.mulesoft.com/jp/dataweave/2.8/dw-binaries-functions-tohex" class="xref page">toHex</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">バイナリ値を 16 進文字列に変換します。</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><a href="https://docs.mulesoft.com/jp/dataweave/2.8/dw-binaries-functions-writelineswith" class="xref page">writeLinesWith</a></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">指定された行を書き込んで、バイナリコンテンツを返します。</p></td>
</tr>
</tbody>
</table>